Skip to content

Commit

Permalink
remove count expression
Browse files Browse the repository at this point in the history
  • Loading branch information
brunodasilvalenga committed Apr 21, 2022
1 parent caa2f1b commit 1b23d25
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion sg.tf
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ resource "aws_security_group_rule" "rds_db_inbound_cidrs" {
}

resource "aws_security_group_rule" "rds_db_inbound_from_sg" {
count = length(var.allow_security_group_ids)
for_each = { for security_group_id in var.allow_security_group_ids : security_group_id.name => security_group_id }
type = "ingress"
from_port = var.port
Expand Down

0 comments on commit 1b23d25

Please sign in to comment.