From 36c2578dd6367ba672069646545687dca951b43f Mon Sep 17 00:00:00 2001 From: Hubert Cornet Date: Sat, 15 Nov 2025 20:03:40 +0100 Subject: [PATCH] Update access_groups.tf --- access_groups.tf | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/access_groups.tf b/access_groups.tf index b5fbd82..484925b 100644 --- a/access_groups.tf +++ b/access_groups.tf @@ -33,8 +33,10 @@ resource "cloudflare_zero_trust_access_policy" "policies" { require = concat( try(each.value.require_mfa, false) ? [{ any_valid_service_token = false - auth_method = "mfa" - }] : [], + auth_method = { + type = "mfa" + } + }] : [], try(each.value.require_country, false) == true ? [{ group = {