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 # =============================================================================