Skip to content

Commit

Permalink
Merge pull request #17 from ec2dream/master
Browse files Browse the repository at this point in the history
terraform v0.12 support
  • Loading branch information
egarbi authored Oct 31, 2019
2 parents a3fc826 + 362fdbe commit fa44d9e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
8 changes: 4 additions & 4 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ resource "aws_security_group_rule" "secure_cidrs" {
from_port = 443
to_port = 443
protocol = "TCP"
cidr_blocks = ["${var.ingress_allow_cidr_blocks}"]
cidr_blocks = var.ingress_allow_cidr_blocks

security_group_id = "${aws_security_group.elasticsearch.id}"
}
Expand Down Expand Up @@ -61,10 +61,10 @@ resource "aws_elasticsearch_domain" "es" {

vpc_options {
security_group_ids = ["${aws_security_group.elasticsearch.id}"]
subnet_ids = ["${var.subnet_ids}"]
subnet_ids = var.subnet_ids
}

advanced_options {
advanced_options = {
"rest.action.multi.allow_explicit_index" = "${var.rest_action_multi_allow_explicit_index}"
"indices.fielddata.cache.size" = "${var.indices_fielddata_cache_size}"
"indices.query.bool.max_clause_count" = "${var.indices_query_bool_max_clause_count}"
Expand All @@ -80,7 +80,7 @@ resource "aws_elasticsearch_domain" "es" {
automated_snapshot_start_hour = "${var.snapshot_start}"
}

tags {
tags = {
Domain = "${var.name}"
}
}
Expand Down
4 changes: 4 additions & 0 deletions versions.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@

terraform {
required_version = ">= 0.12"
}

0 comments on commit fa44d9e

Please sign in to comment.