Skip to content

Commit

Permalink
Add WAF Custom_Policy enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
artem1982 committed Nov 22, 2023
1 parent 31b3f13 commit ed4900f
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ resource "azurerm_web_application_firewall_policy" "wafpolicy" {
dynamic "custom_rules" {
for_each = try(var.settings.custom_rules, {})
content {
enabled = try(custom_rules.value.enabled, true)
name = custom_rules.value.name
priority = custom_rules.value.priority
rule_type = custom_rules.value.rule_type
Expand Down

0 comments on commit ed4900f

Please sign in to comment.