pulumi / pulumi-aws-quickstart-vpc

Temporary repository to hold the roadmap and early code for the AWS Quickstart VPC
Apache License 2.0
5 stars 3 forks source link

Multiple Subnets #7

Closed ajhool closed 3 years ago

ajhool commented 3 years ago

The AWS Quickstart seems like a perfect fit for nested templates but they use a very verbose approach (eg. NatGateway1, NatGateway2, etc.) to explicitly declare each resource. Why aren't the VPCs using nested templates to reduce boilerplate? Is there a good reason?

Design decision: should we use a pulumi template to define an AZ (public + private subnet) to reduce boilerplate or mimic the verbose approach used in the quickstart?

ajhool commented 3 years ago

Re: "Make Design Decision Above"

As far as I can tell, there is no good reason that Nested Templates weren't used in the AWS Quickstart.