Skip to content

Commit

Permalink
Define variable optionals
Browse files Browse the repository at this point in the history
  • Loading branch information
iuriaranda committed Dec 19, 2024
1 parent af7c278 commit 5dfcff3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions aws-account-setup/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
}))
Expand Down

0 comments on commit 5dfcff3

Please sign in to comment.