quintilesims / layer0

Build, Manage, and Deploy Your Applications
Apache License 2.0
44 stars 20 forks source link

tagged subnets on existing vpcs cannot overlap AZs #496

Closed zpatrick closed 6 years ago

zpatrick commented 6 years ago

When creating a Layer0 instance on an existing VPC, the tagged subnets for each Tier (e.g. Public or Private) cannot have overlapping availability zones. Running l0-setup apply with this stipulation will case the following error to occur:

* module.layer0.module.api.aws_elb.api: 1 error(s) occurred:

* aws_elb.api: InvalidConfigurationRequest: ELB cannot be attached to multiple subnets in the same AZ.

We should call this out when describing the input variable for vpc.