Closed todd-dsm closed 11 months ago
It's worth noting these are public subnets in a aws-us-gov
partition. But...
this looks similar in a commercial partition.
found a duplicate parameter in terraform.tfvars
that had a conflicting value; closing.
When planning in a government space, Terraform flakes on the plan:
We've defined 3 AZs in the
build.env
:+build.env:53> export TF_VAR_minDistSize=3
3 AZs have been found.
The
awscli
shows we currently have 3 zones:So, we've asked for 3, found 3 and still the error. It seems like the network expression could be an issue:
This will create take the whole of
var.host_cidr (a.b.c.d/16
and create 4 subnetworks from it, each (ipv4) would bea.b.c.d/18
. it's worth noting that this configuration has been working for years and, in the commercial partition, I've built many cluster over 3 AZs. But, perhaps something has changed?So, spreading 4 subnets over 3 AZs might be a place to start?