Questions tagged [transit-gateway]

30 questions
0
votes
0 answers

Is transit gateway right choice?

I am new to AWS, so would like to hear experts opinion. My company, lets say "BlueCompany", currently have 1 client on their own individual aws account. This is to grow to multiple clients on their separate account. Client accounts use BlueCompany's…
T_H
  • 49
  • 4
0
votes
0 answers

Transit gateway, two vpcs, one with vpn connection. No routing from second vpc to network behind vpn

I have a following scenario: VPC 1: 10.100.0.0/16 instance with strongswan with ipsec tunnel to 192.168.0.0/24 route to 192.168.0.0/24 through strongswan instance VPC 2: 172.16.0.0/24 Transit gateway: VPC 1 attached VPC 2 attached Route to VPC1…
0
votes
0 answers

AWS CDK - Accept Transit Gateway Attachment Request

I am able to create Transit gateway attachment using the construct CfnTransitGatewayAttachment. Please let me know if there are any constructs that can be used to accept the attachment request. I have looked at the documentation and could not find…
0
votes
0 answers

VPC module with transit_gateway_id and cidr_block

I just want to confirm my understanding of something I found in the Terraform-AWS-VPC module. Outside of Terraform, a network engineer added a transit gateway to our AWS account. If I run terraform apply, will I lose his transit gateway and cidr…
0
votes
1 answer

Split a list and merge it based in common variable in terraform

I want to retrieve the subnet ids using it's name and then club them based on their VPC id. I am using data source to retrieve the subnet ID from it's name where it's being split. Once the subnet IDs are retrieved, how can I make a list of subnets…
Maya Ray
  • 523
  • 1
  • 7
  • 21
0
votes
1 answer

How to route traffic from on-prem via transit-gateways in same AWS region

We need to be able to route traffic from our on-premise servers via our Direct Connect to our transit gateway and then to our partner which also has transit gateway. However because both TGWs are in the same region this does not allow peering. It…
luupi
  • 1
0
votes
1 answer

cdk python transit gateway route table entry

Using cdk I'm trying to make a route table entry. The target I'm trying to add is a transit gateway. I'm using the Subnet construct and the add_route() method. https://docs.aws.amazon.com/cdk/api/latest/python/aws_cdk.aws_ec2/Subnet.html There is a…
deep_blue
  • 85
  • 1
  • 7
0
votes
1 answer

AWS CDK Creating RAM Resource Share with Python CfnResourceShare results in Template format error: JSON not well-formed

We run a CodePipline synthesizing python CDK Code version 1.91.0 to Cloudformation templates and executing them. Currently I am trying to setup a Transit Gateway and sharing it with the organization and some account. Creating the basic share is no…
Dukeatcoding
  • 1,363
  • 2
  • 20
  • 34
0
votes
1 answer

Transit gateway attachment tagging

There are two accounts. One is for transit gateway and another is for vpc. There is a transit gateway in account A, and in account B there is a vpc and transit gateway attachment that is associated to the transit gateway in account A through…
honillusion
  • 145
  • 7
0
votes
3 answers

Using AWS transit gateway to access the internet

My requirement is I have VPC-A with private subnet (and one EC2) and VPC-B with a public subnet (which has IGW attached). How do I route my internet traffic from EC2 on VPC-A to use the IGW of VPC-B using Transit Gateway? What are the arch designs…
chandradc
  • 1
  • 1
-1
votes
0 answers

Referencing to AWS Direct connect gateway TGW attachment using terraform

I am using terraform(aws provider 5.8.0) to create and associate a route table to a direct connect gateway TGW association. The terraform resource block for “aws_ec2_transit_gateway_route_table_association” requires a…
-1
votes
1 answer

TGW: How to solve overlapping VPC CIDR problem

I am trying to create a private network with a vendor using AWS TGW. My Org 1. VPC-A: CIDR: 10.50.0.0./16 Subnets: Subnet-1: 10.50.1.0./24 Subnet-2: 10.50.2.0./24 2. VPC-B: CIDR: 10.50.0.0/16 …
JDev
  • 1,662
  • 4
  • 25
  • 55
-1
votes
1 answer

Need to add NLB IP as a target in ALB using terraform. Both load balancers are in different VPCs

I have a requirement to access public ALB where the target is private IP of NLB resides in different VPC. Already established a connectivity using transit gateway. My challenge here is while automating via terraform, i need to add this private IP…
-1
votes
1 answer

Store the values created by two modules in an array and use those values Terraform

I am creating two transit gateway vpc-attachments. I am trying to store the attachment IDs in one variable and call them to create multiple routes in Route Table. Error: Error: Invalid value for module argument , in module "routes": 199: …
Maya Ray
  • 523
  • 1
  • 7
  • 21
-1
votes
1 answer

Are only certain VPC locations allowed for Transit Gateway?

I can only provision a transit gateway in a certain set of locations on the provisioning page. Does that mean the VPC I want to connect has to be located in one of those locations?
1
2