terraform/examples/aws-networking
Tom Fitzherbert e6ddd62583 Ensures that subnets are created in the desired AZ (#15443) 2017-06-30 16:00:47 +03:00
..
numbering examples: creating VPCs and subnets across two regions 2016-09-24 15:19:34 -07:00
region examples: creating VPCs and subnets across two regions 2016-09-24 15:19:34 -07:00
subnet Ensures that subnets are created in the desired AZ (#15443) 2017-06-30 16:00:47 +03:00
.gitignore examples: creating VPCs and subnets across two regions 2016-09-24 15:19:34 -07:00
README.md examples: creating VPCs and subnets across two regions 2016-09-24 15:19:34 -07:00
regions.tf examples: creating VPCs and subnets across two regions 2016-09-24 15:19:34 -07:00
variables.tf examples: creating VPCs and subnets across two regions 2016-09-24 15:19:34 -07:00

README.md

AWS Networking Example

This example creates AWS VPC resources, making a VPC in each of two regions and then two subnets in each VPC in two different availability zones.

This example also demonstrates the use of modules to create several copies of the same resource set with different arguments. The child modules in this directory are:

  • region: container module for all of the network resources within a region. This is instantiated once per region.
  • subnet: represents a subnet within a given availability zone. This is instantiated twice per region, using the first two availability zones supported within the target AWS account.