Terraform code to demonstrate how AWS NAT Gateway can be used to solve overlapping IP in AWS.
To run this project, you will need to set the following environment variables
- AWS_ACCESS_KEY_ID
- AWS_SECRET_ACCESS_KEY
- AWS_DEFAULT_REGION
Clone the project
git clone https://github.com/bayupw/terraform-aws-overlapping-nat-gateway-demo.git
Go to the project directory
cd terraform-aws-overlapping-nat-gateway-demo
Set environment variables
export AWS_ACCESS_KEY_ID="A1b2C3d4E5"
export AWS_SECRET_ACCESS_KEY="A1b2C3d4E5"
export AWS_DEFAULT_REGION="ap-southeast-2"
Terraform workflow
terraform init
terraform plan
terraform apply -auto-approve
Report issues/questions/feature requests on in the issues section.
Apache 2 Licensed. See LICENSE for full details.