https://github.com/flyinprogrammer/do_you_even_transit_gateway
https://github.com/flyinprogrammer/do_you_even_transit_gateway
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/flyinprogrammer/do_you_even_transit_gateway
- Owner: flyinprogrammer
- Created: 2020-06-11T18:09:07.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-06-11T18:10:49.000Z (almost 6 years ago)
- Last Synced: 2025-07-05T21:47:46.554Z (10 months ago)
- Language: HCL
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Do You Even Transit Gateway?
Here's an example of trying to build the [Isolated VPCs with shared services](https://docs.aws.amazon.com/vpc/latest/tgw/transit-gateway-isolated-shared.html)
Transit Gateway example, and seeing that it's impossible.
Run the initial VPC/Transit Gateway setup:
```bash
terraform init
terraform plan -out tfout
terraform apply tfout
```
Then uncomment the code in [OPTION1.tf](OPTION1.tf) or [OPTION2.tf](OPTION2.tf) and run the same
commands again to witness the errors:
```bash
terraform plan -out tfout
terraform apply tfout
```
Be sure to `plan/apply` with both options commented out before switching options so that you're
starting from a clean state each time.
Running:
```bash
terraform destroy
```
Will clean everything up.