From 59ce6229b03b5f083dc9cef1b68cd71c9c7b6b72 Mon Sep 17 00:00:00 2001 From: Hubert Cornet Date: Sat, 15 Nov 2025 19:51:13 +0100 Subject: [PATCH] Update variables.tf --- variables.tf | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/variables.tf b/variables.tf index e72f756..07a9e5e 100644 --- a/variables.tf +++ b/variables.tf @@ -73,6 +73,29 @@ variable "applications" { default = {} } +# ============================================================================= +# Group +# ============================================================================= + +variable "access_policies" { + description = "Liste des policies d'accès au format map" + type = map(object({ + name = string + include_groups = list(string) + exclude_groups = list(string) + require_mfa = optional(bool) + require_login_method = optional(bool) + require_country = optional(bool) + purpose_justification = optional(bool) + purpose_justification_prompt = optional(string) + })) +} + +variable "policy_groups" { + description = "Map des groupes utilisés dans les policies" + type = map(string) +} + # ============================================================================= # ADVANCED OPTIONS # =============================================================================