From 7f467688f1fde26aee2bde87bcb43fe2f2e36e41 Mon Sep 17 00:00:00 2001 From: badra001 Date: Mon, 25 Oct 2021 11:18:38 -0400 Subject: [PATCH] fix --- common/resources.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/resources.tf b/common/resources.tf index 26f5c4d..560ad3a 100644 --- a/common/resources.tf +++ b/common/resources.tf @@ -39,7 +39,7 @@ resource "aws_security_group" "this_security_group" { # ingress self (list with one or zero items) dynamic "ingress" { - for_each = var.enable_self ? local.self_port_map : {} + for_each = var.enable_self ? local.self_port_map : [] iterator = sg content { description = "${local.short_description}: self ${sg.value["description"]}"