Skip to content

pgporada/terraform-vpc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview: terraform-vpc

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.


Usage

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 .

Theme Music

Erik Petersen - Old Tyme Memory


License and Author Info

(C) Phil Porada 2016 - philporada@gmail.com

Releases

No releases published

Packages

No packages published