Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Nov 20, 2025
1 parent ad5970d commit dc996b5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions custom/custom.tf
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,11 @@ resource "aws_security_group" "this_security_group" {
for_each = local.ingress_sg
iterator = sg
content {
description = "${local.short_description}: ${local.ingress_sg_names[sg.value]}"
description = "${local.short_description}: ${local.ingress_sg_names[sg.key]}"
from_port = 0
to_port = 0
protocol = -1
security_groups = [sg.value]
security_groups = [sg.key]
}
}

Expand Down Expand Up @@ -154,11 +154,11 @@ resource "aws_security_group" "this_security_group" {
for_each = local.egress_sg
iterator = sg
content {
description = "${local.short_description}: ${local.egress_sg_names[sg]}"
description = "${local.short_description}: ${local.egress_sg_names[sg.key]}"
from_port = 0
to_port = 0
protocol = -1
security_groups = [sg]
security_groups = [sg.key]
}
}

Expand Down

0 comments on commit dc996b5

Please sign in to comment.