issues
search
cloudposse
/
terraform-aws-elasticsearch
Terraform module to provision an Elasticsearch cluster with built-in integrations with Kibana and Logstash.
https://cloudposse.com/accelerate
Apache License 2.0
218
stars
231
forks
source link
feat: add validation to availability_zone_count
#122
Closed
morremeyer
closed
2 years ago
morremeyer
commented
2 years ago
what
This ensures that availability_zone_count is only set to allowed values, see
https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/elasticsearch_domain#availability_zone_count
.
why
Without this change, it’s possible to set
zone_awareness_enabled
to
true
which will automatically use 2 AZs, but set
availability_zone_count
to
1
, which is confusing
references
https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/elasticsearch_domain#availability_zone_count
.
Gowiem
commented
2 years ago
/test all
what
why
zone_awareness_enabled
totrue
which will automatically use 2 AZs, but setavailability_zone_count
to1
, which is confusingreferences