This solution contains a set of opinionated Terraform modules that deploy and automate the configuration of one or more transit gateways. The variables.tf file in this repository contains a set of boolean maps that you can customize to deploy one of the following configurations:
A single transit gateway with or without AWS Site-to-Site VPN—Deploys a single transit gateway and shares it throughout your AWS organization.
Multiple transit gateways deployed across multiple AWS Regions—Deploys a transit gateway in multiple AWS Regions. You can choose to peer the gateways and route traffic between them.
Globally meshed network of transit gateways—Deploys a transit gateway in each AWS Region and sets up peering connections between them.