Builds the following infrastructure
- VPC
- Public subnet(s)
- Private subnet(s)
- Availability Zone(s)
- Routing tables
- NAT Gateway(s) + EIP
- Internet Gateway
For more terraform related docs, please see our wiki.
The Makefile will pull down a fresh secrets variable file from S3 during the plan and apply phases. This file does not exist by default.
ENVIRONMENT=c6h12o6 make plan
ENVIRONMENT=c6h12o6 make apply
Push vars. Remember, you'll need to push an initial set of vars yourself otherwise plan/apply will fail.
aws s3 --profile someawsprofile cp somevars.tfvars s3://somebucket/terraform/vpc/somevars.tfvars
Get vars
aws s3 --profile someawsprofile cp s3://somebucket/terraform/vpc/somevars.tfvars .
Erik Petersen - Old Tyme Memory
(C) Phil Porada 2016 - philporada@gmail.com