https://github.com/zouabimourad/aws-transit-gateway-experiments
https://github.com/zouabimourad/aws-transit-gateway-experiments
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/zouabimourad/aws-transit-gateway-experiments
- Owner: zouabimourad
- Created: 2021-07-15T18:27:02.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-07-15T18:46:55.000Z (almost 4 years ago)
- Last Synced: 2024-12-30T04:19:56.459Z (5 months ago)
- Language: HCL
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# AWS transit gateway experiments
# Introduction
The purpose of these terraform/terragrunt scripts is to implement Transit Gateway Architecture presented in the following links :
https://aws.amazon.com/blogs/networking-and-content-delivery/building-an-egress-vpc-with-aws-transit-gateway-and-the-aws-cdk/
# Perquisites
- Terraform
- Terragrunt3 Accouns accounts :
- non-prod
- prod ( optional )
- service# Configuration
# .hcl files
Please configure the following files according to your AWS Accounts settings
account.hcl
region.hcl
env.hcl# variable.tf
Please configure variable.tf according to your AWS Accounts settings and with entities ids
# Running
## Transit Gateway
`cd global/account-service/eu-west-1/shared/network/transit-gateway`
`terragrunt apply`
## Egress VPC
`cd global/account-service/eu-west-1/shared/network/egress-vpc`
`terragrunt apply`
## One or more VPC ( dev for example )
`cd global/account-non-prod/eu-west-1/shared/network/dev/vpc`
`terragrunt apply`
## Transit Gateway Route Table
`cd global/account-service/eu-west-1/shared/network/transit-gateway-route-table`
`terragrunt apply`