From 06bc7d1e18d7ab7afd05fd6db7c2a8b11ae66a1b Mon Sep 17 00:00:00 2001 From: badra001 Date: Wed, 15 Sep 2021 14:30:11 -0400 Subject: [PATCH] fix --- web/main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/main.tf b/web/main.tf index 899f7ec..e1edc45 100644 --- a/web/main.tf +++ b/web/main.tf @@ -67,7 +67,7 @@ resource "aws_security_group" "this_security_group" { from_port = p.value["from"] to_port = p.value["to"] protocol = p.value["proto"] - cidr_blocks = length(p.value["cidr"]) == 0 ? flatten(compact(concat(local.external_ingress_networks, var.ingress_networks))) : flatten(compress(concat(p.value["cidr"], var.ingress_networks))) + cidr_blocks = length(p.value["cidr"]) == 0 ? flatten(compact(concat(local.external_ingress_networks, var.ingress_networks))) : flatten(compact(concat(p.value["cidr"], var.ingress_networks))) } }