File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ resource "aws_security_group_rule" "secure_cidrs" {
1212 from_port = 443
1313 to_port = 443
1414 protocol = " TCP"
15- cidr_blocks = [ " ${ var . ingress_allow_cidr_blocks } " ]
15+ cidr_blocks = var. ingress_allow_cidr_blocks
1616
1717 security_group_id = " ${ aws_security_group . elasticsearch . id } "
1818}
@@ -61,10 +61,10 @@ resource "aws_elasticsearch_domain" "es" {
6161
6262 vpc_options {
6363 security_group_ids = [" ${ aws_security_group . elasticsearch . id } " ]
64- subnet_ids = [ " ${ var . subnet_ids } " ]
64+ subnet_ids = var. subnet_ids
6565 }
6666
67- advanced_options {
67+ advanced_options = {
6868 " rest.action.multi.allow_explicit_index" = " ${ var . rest_action_multi_allow_explicit_index } "
6969 " indices.fielddata.cache.size" = " ${ var . indices_fielddata_cache_size } "
7070 " indices.query.bool.max_clause_count" = " ${ var . indices_query_bool_max_clause_count } "
@@ -80,7 +80,7 @@ resource "aws_elasticsearch_domain" "es" {
8080 automated_snapshot_start_hour = " ${ var . snapshot_start } "
8181 }
8282
83- tags {
83+ tags = {
8484 Domain = " ${ var . name } "
8585 }
8686}
Original file line number Diff line number Diff line change 1+
2+ terraform {
3+ required_version = " >= 0.12"
4+ }
You can’t perform that action at this time.
0 commit comments