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.
1 parent 78dbee1 commit c2e8e86Copy full SHA for c2e8e86
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 = cluster_config.value.zone_awareness_enabled ? 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