Skip to content

Commit

Permalink
apply to main_vpc too
Browse files Browse the repository at this point in the history
  • Loading branch information
ted-fastly committed Jan 10, 2020
1 parent 06ba576 commit 3b2adb8
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion main_vpc.tf
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,12 @@ resource "aws_elasticsearch_domain" "es_vpc" {
dedicated_master_enabled = "${var.instance_count >= var.dedicated_master_threshold ? true : false}"
dedicated_master_count = "${var.instance_count >= var.dedicated_master_threshold ? 3 : 0}"
dedicated_master_type = "${var.instance_count >= var.dedicated_master_threshold ? (var.dedicated_master_type != "false" ? var.dedicated_master_type : var.instance_type) : ""}"
zone_awareness_enabled = "${var.es_zone_awareness}"

zone_awareness_config {
availability_zone_count = "${var.es_availability_zone_count}"
}

zone_awareness_enabled = "${var.es_zone_awareness}"
}

# advanced_options {
Expand Down

0 comments on commit 3b2adb8

Please sign in to comment.