You must be logged in to view saved presets
Associates a Transit Gateway with a Direct Connect Gateway and specifies allowed prefixes for routing.
resource "aws_dx_gateway" "example" {
amazon_side_asn = "64512"
name = "example"
}
resource "aws_dx_gateway_association" "example" {
allowed_prefixes = ["10.255.255.0/30", "10.255.255.8/30"]
associated_gateway_id = aws_ec2_transit_gateway.example.id
dx_gateway_id = aws_dx_gateway.example.id
}
resource "aws_ec2_transit_gateway" "example" {
}