Skip to content

dpeterka/terraform-vpc

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

terraform-vpc

Module to build a VPC.

Builds out 2 AZs: primary and secondary, with 3 subnets setup:

  • front (gets a public IP)
  • back (dedicated well known IP machines)
  • ephemeral (elb IPs and ASG managed / auto-scaling machines)

Builds an Internet gateway and a 'public' route table that routes 0.0.0.0/0 by the igw

Inputs:

  • region - default eu-central-1
  • account - The account/profile from your ~/.aws/credentials file
  • networkprefix - The first 2 octets of the IP address for this VPC. E.g. 10.84

Outputs:

  • region
  • account
  • azs
  • az_count
  • frontsubnets
  • dedicatedsubnets
  • ephemeralsubnets
  • public-routetable
  • id - the vpc id
  • cidr_block
  • main_route_table_id
  • default_network_acl_id
  • default_security_group_id

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Makefile 100.0%