Skip to content

Commit 9f3dd59

Browse files
sanarenaArminnitrocodecloudpossebot
authored
fix when awareness is disabled, always changing (#123)
Co-authored-by: Armin <[email protected]> Co-authored-by: nitrocode <[email protected]> Co-authored-by: cloudpossebot <[email protected]>
1 parent c04e16c commit 9f3dd59

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ In general, PRs are welcome. We follow the typical "fork-and-pull" Git workflow.
390390

391391
## Copyright
392392

393-
Copyright © 2017-2021 [Cloud Posse, LLC](https://cpco.io/copyright)
393+
Copyright © 2017-2022 [Cloud Posse, LLC](https://cpco.io/copyright)
394394

395395

396396

main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ resource "aws_elasticsearch_domain" "default" {
152152
warm_type = var.warm_enabled ? var.warm_type : null
153153

154154
dynamic "zone_awareness_config" {
155-
for_each = var.availability_zone_count > 1 ? [true] : []
155+
for_each = var.availability_zone_count > 1 && var.zone_awareness_enabled ? [true] : []
156156
content {
157157
availability_zone_count = var.availability_zone_count
158158
}

0 commit comments

Comments
 (0)