Relative Content

Tag Archive for amazon-web-servicesterraform-provider-awstransit-gateway

How do I properly set up a cross-region transit gateway route with terraform?

I’m trying to set up a transit gateway (TGW) that spans two regions via terraform. I set up the two TGWs on either region, create a TGW attachment in either region, a route table with routes pointing to the opposite region with a defined subnet, but at creation time, there is an inherent default route table that points to the local subnet that messes with the routing. Here is a snippet of my terraform: