Update Traffic_Policies-Firewall_Policies-Network.tf
Some checks failed
Terraform Apply / Terraform Apply (push) Failing after 7s
Some checks failed
Terraform Apply / Terraform Apply (push) Failing after 7s
This commit is contained in:
@@ -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 = {
|
||||||
|
|||||||
Reference in New Issue
Block a user