Skip to content

Commit

Permalink
fixing priority
Browse files Browse the repository at this point in the history
  • Loading branch information
gbbayareametro committed Apr 22, 2024
1 parent d3e877c commit e9d52b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bloom-instance/waf.tf
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ resource "aws_wafv2_web_acl" "cloudfront_acl" {
for_each = local.global_managed_waf_rules
content {
name = rule.value
priority = 1
priority = index(local.global_managed_waf_rules, rule.value)

override_action {
count {}
Expand Down Expand Up @@ -70,7 +70,7 @@ resource "aws_wafv2_web_acl" "apigw_acl" {
for_each = local.global_managed_waf_rules
content {
name = rule.value
priority = 1
priority = index(local.global_managed_waf_rules, rule.value)

override_action {
count {}
Expand Down

0 comments on commit e9d52b8

Please sign in to comment.