From a0acb4e729bb7bbdb285897ee0d62c3e698cbccc Mon Sep 17 00:00:00 2001 From: Hubert Cornet Date: Tue, 18 Nov 2025 09:06:42 +0100 Subject: [PATCH] Update team_resources_devices.tf --- team_resources_devices.tf | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/team_resources_devices.tf b/team_resources_devices.tf index af5a1d0..872a4e1 100644 --- a/team_resources_devices.tf +++ b/team_resources_devices.tf @@ -4,18 +4,20 @@ # resource "cloudflare_zero_trust_device_custom_profile" "example_zero_trust_device_custom_profile" { - account_id = local.cloudflare_account_id - match = "identity.email == \"test@cloudflare.com\"" - name = "Allow Developers" - precedence = 100 - allow_mode_switch = true - allow_updates = true - allowed_to_leave = true - auto_connect = 0 - captive_portal = 180 - description = "Policy for test teams." + account_id = local.cloudflare_account_id + + enabled = true + name = "Allow Developers" + description = "Policy for test teams." + precedence = 100 +# match = "identity.email == \"test@cloudflare.com\"" + match = "os.name == \"windows\"" + allow_mode_switch = true + allow_updates = true + allowed_to_leave = true + auto_connect = 0 + captive_portal = 180 disable_auto_fallback = true - enabled = true # exclude = [{ # address = "192.0.2.0/24" # description = "Exclude testing domains from the tunnel"