Skip to content

Commit

Permalink
Merge pull request #1823 from cloud-gov/ignore-waf-changes
Browse files Browse the repository at this point in the history
Ignore all WAF changes due to false positives
  • Loading branch information
jameshochadel authored Jan 22, 2025
2 parents fa6b410 + e54b5df commit d3dd377
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions terraform/modules/cloudfoundry/waf.tf
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,11 @@ resource "aws_wafv2_web_acl" "cf_uaa_waf_core" {
description = "UAA ELB WAF Rules"
scope = "REGIONAL"

# see https://github.com/hashicorp/terraform-provider-aws/issues/24386#issuecomment-1109340765
# Regarding tags_all, see https://github.com/hashicorp/terraform-provider-aws/issues/24386#issuecomment-1109340765
lifecycle {
ignore_changes = [tags_all]
# Regarding rule: If you make updates to the WAF rules in this file, you must remove `rule` so they apply.
# This is a workaround to an issue: https://github.com/hashicorp/terraform-provider-aws/issues/33124
ignore_changes = [rule, tags_all]
}

default_action {
Expand Down

0 comments on commit d3dd377

Please sign in to comment.