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

This commit is contained in:
2025-11-19 14:47:57 +01:00
parent ee9b380c78
commit 39f194cf6f

View File

@@ -26,7 +26,7 @@ locals {
} }
# Common rule settings for block policies # Common rule settings for block policies
default_block_settings = { default_block_settings_network = {
block_page_enabled = false block_page_enabled = false
ip_categories = false ip_categories = false
ip_indicator_feeds = false ip_indicator_feeds = false
@@ -176,7 +176,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_network,
{ {
block_reason = try(each.value.block_reason, "") block_reason = try(each.value.block_reason, "")
notification_settings = { notification_settings = {