terraform-community-modules / tf_aws_vpc

[DEPRECATED] Use https://github.com/terraform-aws-modules/terraform-aws-vpc
Other
210 stars 203 forks source link

Multiple private route tables created but only one public subnet #33

Closed williamtsoi1 closed 7 years ago

williamtsoi1 commented 7 years ago

This is somewhat related to #26.

I understand the rationale behind using the one route table for the public subnets, and to associate each subnet to the same route table.

I'd like to ask why this principle isn't applied to the private subnets also, and separate route tables are created. Is this by design?

@vincentpaca can you provide some insights? Thanks.

williamtsoi1 commented 7 years ago

Silly me. I understand now. As each private subnet has its own NAT gateway that's why separate route tables are required. Closing this issue.