Update gateway_policy.tf
Some checks failed
Terraform Apply / Terraform Apply (push) Failing after 23s

This commit is contained in:
2025-11-17 11:35:05 +01:00
parent 0f57affe72
commit ffab028aaa

View File

@@ -10,10 +10,10 @@ resource "cloudflare_zero_trust_gateway_policy" "example_zero_trust_gateway_poli
description = "Block bad websites based on their host name." description = "Block bad websites based on their host name."
device_posture = "any(device_posture.checks.passed[*] in {\"1308749e-fcfb-4ebc-b051-fe022b632644\"})" device_posture = "any(device_posture.checks.passed[*] in {\"1308749e-fcfb-4ebc-b051-fe022b632644\"})"
enabled = true enabled = true
expiration = { # expiration = {
expires_at = "2026-01-01T05:20:20Z" # expires_at = "2026-01-01T05:20:20Z"
duration = 10 # duration = 10
} # }
filters = ["http"] filters = ["http"]
identity = "any(identity.groups.name[*] in {\"finance\"})" identity = "any(identity.groups.name[*] in {\"finance\"})"
precedence = 0 precedence = 0