Update Traffic_Policies-Firewall_Policies-HTTP.tf
Some checks failed
Terraform Apply / Terraform Apply (push) Failing after 7s

This commit is contained in:
2025-11-19 14:47:27 +01:00
parent 33c30d4c5d
commit ee9b380c78

View File

@@ -17,7 +17,7 @@ locals {
} }
# Common rule settings for block policies # Common rule settings for block policies
default_block_settings = { default_block_settings_http = {
block_page_enabled = false block_page_enabled = false
ip_categories = false ip_categories = false
ip_indicator_feeds = false ip_indicator_feeds = false
@@ -111,7 +111,7 @@ resource "cloudflare_zero_trust_gateway_policy" "policies" {
device_posture = try(each.value.device_posture, null) device_posture = try(each.value.device_posture, null)
rule_settings = merge( rule_settings = merge(
local.default_block_settings, local.default_block_settings_http,
{ {
block_reason = try(each.value.block_reason, "") block_reason = try(each.value.block_reason, "")
notification_settings = { notification_settings = {