From 5dfcff398b8555d3232c764cd4ee89ac036ab86e Mon Sep 17 00:00:00 2001 From: iuri aranda Date: Thu, 19 Dec 2024 12:47:59 +0100 Subject: [PATCH] Define variable optionals --- aws-account-setup/variables.tf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/aws-account-setup/variables.tf b/aws-account-setup/variables.tf index 77a19a5..2c6a4e6 100644 --- a/aws-account-setup/variables.tf +++ b/aws-account-setup/variables.tf @@ -2,10 +2,10 @@ variable "management_clusters" { type = map(object({ aws_account = list(object({ account_id = string - aws_partition = string - byovpc = bool - additional_policies = list(string) - additional_policies_arns = list(string) + aws_partition = optional(string, "aws") + byovpc = optional(bool, false) + additional_policies = optional(list(string), []) + additional_policies_arns = optional(list(string), []) })), oidc_provider_domain = string }))