Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Oct 25, 2021
1 parent ef70ec9 commit 7f46768
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/resources.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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"]}"
Expand Down

0 comments on commit 7f46768

Please sign in to comment.