From 2c2cb11749487020e9357fa720950c94fc7c00be Mon Sep 17 00:00:00 2001 From: x p k Date: Thu, 23 Apr 2020 10:40:08 +0800 Subject: [PATCH] UPD: doc update --- terraform/aws-vpc/README.md | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/terraform/aws-vpc/README.md b/terraform/aws-vpc/README.md index 265f2f0..539d645 100644 --- a/terraform/aws-vpc/README.md +++ b/terraform/aws-vpc/README.md @@ -1,10 +1,10 @@ # Terraform config for creating VPC and subnets -These config will create the following resources on AWS. The VPC CIDR is hard-coded as 10.0.0.0/16. The number of subnets are also hard-coded. The subnets will sit in different availablity zones for redundancy. +These config will create the following resources on AWS. The VPC CIDR is hard-coded as 10.0.0.0/16. The subnets will sit in different availablity zones for redundancy. Resources are all tagged from a globaltag list. * 1 VPC -* 2 public subnets -* 2 private subnets +* public subnets in all AZs +* private subnets in all AZs * 1 internet gateway * 1 nat gateway @@ -18,9 +18,5 @@ aws_region = "ap-southeast-1" resource_prefix = "project1-dev" ``` -## TF graph -Here is what the graph looks like -![tf graph](https://raw.githubusercontent.com/xpertkn/terraform/master/tfgraph.png?raw=true) - ## Revision notes -* Previously terraform plan would fail to compute the count for routing table association. This is now corrected by hard-coding count to 2. +* Previously terraform plan would fail to compute the count for routing table association. This is now corrected by setting count = number of AZs