If availability_zone_count is 2, terraform thinks it needs to be changed every time for aws_elasticsearch_domain #21778
Labels
bug
Addresses a defect in current functionality.
service/elasticsearch
Issues and PRs that pertain to the elasticsearch service.
Community Note
Terraform CLI and Terraform AWS Provider Version
Affected Resource(s)
Terraform Configuration Files
Please include all Terraform configurations required to reproduce the bug. Bug reports without a functional reproduction may be closed without investigation.
Debug Output
Relavent parts, with redacted data: https://gist.github.com/tmccombs/7015a4792aad0be999cb999d9ece5a32
Expected Behavior
After applying changes, the plan shouldn't still say that the availability_zone_count still needs to be changed.
Actual Behavior
Even after updating the
availability_zone_count
, and verifying in AWS that the zone count is 2, terraform still thinks it needs to be updated.Steps to Reproduce
Important Factoids
It looks like AWS doesn't return a ZoneAwarenessConfig section. I'm not sure if it is because the availabililty_zone_count is the default of 2, or if it is because it is an older version of elasticsearch.
References
The text was updated successfully, but these errors were encountered: