Skip to content

Commit

Permalink
Make managed rule group names unique
Browse files Browse the repository at this point in the history
  • Loading branch information
olamide committed Mar 12, 2024
1 parent 44360d0 commit ec2621e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aws/waf/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ resource "aws_wafv2_web_acl" "main" {
}
statement {
managed_rule_group_statement {
name = rule.value["name"]
name = "${rule.value["name"]}-${rule.key}"
vendor_name = "AWS"

dynamic "scope_down_statement" {
Expand Down

0 comments on commit ec2621e

Please sign in to comment.