From e140372475c32aa22df5ad4374e6ed313f7346af Mon Sep 17 00:00:00 2001 From: Sam Ainsworth Date: Thu, 2 Nov 2023 17:20:07 +0000 Subject: [PATCH] UML-3160 Replace deprecated argument in WAF TF (#2397) * UML-3160 Replace deprecated argument in WAF TF --- terraform/account/region/waf.tf | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/terraform/account/region/waf.tf b/terraform/account/region/waf.tf index 8d4d340f01..2fb0a0f5ed 100644 --- a/terraform/account/region/waf.tf +++ b/terraform/account/region/waf.tf @@ -63,10 +63,14 @@ resource "aws_wafv2_web_acl" "main" { name = "AWSManagedRulesCommonRuleSet" vendor_name = "AWS" - excluded_rule { + rule_action_override { name = "NoUserAgent_HEADER" + action_to_use { + count {} + } } + } } visibility_config {