bitte
bitte copied to clipboard
Don't destroy and recreate subnets when their availability zone changes in the terraform config
trafficstars
A subnet's availability zone can change in the terraform config in a couple of scenarios I can think of:
- Updating Bitte on an old deployment that was not properly spread across availability zones.
- (hypothetical) upstream changes to amazon's availability-zone/instance-type support matrix cause the terraform config logic to come up with different subnet->availability zone assignments.
In scenario 1 we may want to follow through with the change set to spread our instances across azs as per best practices, while in scenario 2 it is probably not worth the trouble.
Separating this from #154 so that we can decide on it in isolation.