From 9ffd44d8cbdd8e5108afcde00329dc149842f969 Mon Sep 17 00:00:00 2001 From: uyggnodoow Date: Thu, 30 Jan 2025 21:06:34 +0900 Subject: [PATCH] refactor: Add 'challenge action' to rule_action_override --- main.tf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/main.tf b/main.tf index 3f6c83e..8fd256f 100644 --- a/main.tf +++ b/main.tf @@ -199,6 +199,10 @@ resource "aws_wafv2_web_acl" "this" { for_each = action_to_use.value == "count" ? [1] : [] content {} } + dynamic "challenge" { + for_each = action_to_use.value == "count" ? [1] : [] + content {} + } } } }