VPC module for Terraform
Branch: master
Clone or download
Latest commit 6addb8f Feb 15, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.ci improvements identified by doing this for a 2nd module (#10) Jan 3, 2019
examples
.gitignore
.travis.yml
CODEOWNERS Fix codeowners. Jun 27, 2018
LICENSE
Makefile Add makefile and rework .travis.yml. Jun 19, 2018
README.md
main.tf
outputs.tf Output cidr_block Feb 15, 2019
variables.tf Re-order variables Jun 22, 2018

README.md

VPC

Build Status

This is a module which simplifies setting up a new VPC and getting it into a useful state:

  • Creates one public subnet per availability zone (with a shared route table and internet gateway).
  • Creates the desired number of private subnets (with one NAT gateway and route table per subnet).
  • Creates an egress only internet gateway for IPv6 traffic outbound from the private subnets
  • Evenly splits the specified IPv4 CIDR block between public/private subnets.
  • Adds the tag type to each subnet with the value of either public or private.

Note that, if create_nat_gateways is enabled, each private subnet has a route table which targets an individual NAT gateway when accessing the internet over IPv4, which means that all instances in a given private subnet will appear to have the same static IP from the outside.