Simple VPC example
Configuration in this directory creates the following VPC Resources with Default configuration.
- Public Subnets
- Private Subnets (Application Subnets)
- Internet Gateway
- One NAT Gateway with Elastic IP
- Network ACLs for each subnets
- Route Tables and routes
- VPC Endpoints for ecr, ecs, s3, ssm
To run this example you need to execute:
$ terraform init $ terraform plan $ terraform apply
Note that this example may create resources which cost money. Run
terraform destroy when you don’t need these resources.