We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
zone_awareness_config
zone_awareness
1 parent dde73c8 commit 1ff02d2Copy full SHA for 1ff02d2
main.tf
@@ -106,7 +106,7 @@ resource "aws_opensearch_domain" "this" {
106
warm_type = try(cluster_config.value.warm_type, null)
107
108
dynamic "zone_awareness_config" {
109
- for_each = try([cluster_config.value.zone_awareness_config], [])
+ for_each = try(cluster_config.value.zone_awareness_enabled, true) ? try([cluster_config.value.zone_awareness_config], []) : []
110
111
content {
112
availability_zone_count = try(zone_awareness_config.value.availability_zone_count, null)
0 commit comments