Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Aug 26, 2025
1 parent 16a1e5a commit 8acc43e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions custom/custom.tf
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ resource "aws_security_group" "this_security_group" {
}
}

# inress with prefix lists
# ingress with prefix lists
dynamic "ingress" {
for_each = length(var.ingress_prefix_list_names) > 0 && length(var.ingress_prefix_list_ports) > 0 ? toset(var.ingress_prefix_list_ports) : toset([])
iterator = p
Expand All @@ -130,7 +130,7 @@ resource "aws_security_group" "this_security_group" {
from_port = p.value.from
to_port = p.value.to
protocol = p.value.proto
prefix_list_ids = [for pl in data.aws_ec2_managed_prefix_list.inress : pl.id]
prefix_list_ids = [for pl in data.aws_ec2_managed_prefix_list.ingress : pl.id]
}
}

Expand Down

0 comments on commit 8acc43e

Please sign in to comment.