Skip to content

Commit

Permalink
fix: WAF rule priority (#1922)
Browse files Browse the repository at this point in the history
Update the WAF rule priority so that it does not
conflict with the auto created AWS Shield rules.
  • Loading branch information
patheard authored Sep 26, 2024
1 parent 65df102 commit 3ec924b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions infrastructure/terragrunt/aws/load-balancer/waf.tf
Original file line number Diff line number Diff line change
Expand Up @@ -627,7 +627,7 @@ resource "aws_wafv2_web_acl" "wordpress_waf" {

rule {
name = "BlockComments"
priority = 13
priority = 100

action {
dynamic "block" {
Expand Down Expand Up @@ -684,7 +684,7 @@ resource "aws_wafv2_web_acl" "wordpress_waf" {

rule {
name = "WordpressRateLimit"
priority = 101
priority = 110

action {
dynamic "block" {
Expand Down

0 comments on commit 3ec924b

Please sign in to comment.