From f1344b9410347bbe62eafd9b48a89c51dcc7e09f Mon Sep 17 00:00:00 2001 From: Hubert Cornet Date: Mon, 17 Nov 2025 17:30:20 +0100 Subject: [PATCH] Update access_policies.tf --- access_policies.tf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/access_policies.tf b/access_policies.tf index 5d5fd75..655d859 100644 --- a/access_policies.tf +++ b/access_policies.tf @@ -23,13 +23,13 @@ resource "cloudflare_zero_trust_access_policy" "allow_policie_it_admin" { decision = "allow" session_duration = "6h" - include = [{ + include = [ for group_key in ["it_admin", "infrastructure_admin"] : { group = { id = cloudflare_zero_trust_access_group.saml_groups[group_key].id } } - }] + ] } #