From 207156aa9f360e76fa0cb01c00330d7d839a203c Mon Sep 17 00:00:00 2001 From: Jeremy Frasier Date: Mon, 6 May 2024 12:50:01 -0400 Subject: [PATCH] Alphabetize --- outputs.tf | 2 +- variables.tf | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/outputs.tf b/outputs.tf index d9a6aaf..6ea7518 100644 --- a/outputs.tf +++ b/outputs.tf @@ -1,4 +1,4 @@ output "accounts" { - value = controltower_aws_account.accounts description = "The AWS accounts created by Control Tower." + value = controltower_aws_account.accounts } diff --git a/variables.tf b/variables.tf index ba25bea..8528381 100644 --- a/variables.tf +++ b/variables.tf @@ -5,8 +5,8 @@ # ------------------------------------------------------------------------------ variable "accounts" { - type = list(object({ account_email = string, account_name = string, account_org_unit = string, provisioned_product_name = string, sso_email = string, sso_first_name = string, sso_last_name = string })) description = "A list of objects specifying the details of the AWS account(s) to provision (e.g. [ {account_email = \"admin1@example.com\", account_name = \"Example Account 1\", account_org_unit = \"Sandbox\", provisioned_product_name = \"example-account-1\", sso_email = \"john.doe@example.com\", sso_first_name = \"John\", sso_last_name = \"Doe\"}, {account_email = \"admin2@example.com\", account_name = \"Example Account 2\", account_org_unit = \"Sandbox\", provisioned_product_name = \"example-account-2\", sso_email = \"john.doe@example.com\", sso_first_name = \"John\", sso_last_name = \"Doe\"} ]). Field descriptions: account_email - the root email address to associate with the AWS account, account_name - the name of the AWS account to provision, account_org_unit - the name of the AWS Organizational Unit under which the account resides, provisioned_product_name - the name of the service catalog product that is provisioned, sso_email - the email address of the SSO user (this email address must already exist in AWS SSO), sso_first_name - the first name of the SSO user, sso_last_name - the last name of the SSO user" + type = list(object({ account_email = string, account_name = string, account_org_unit = string, provisioned_product_name = string, sso_email = string, sso_first_name = string, sso_last_name = string })) } # ------------------------------------------------------------------------------ @@ -21,7 +21,7 @@ variable "aws_region" { } variable "tags" { - type = map(string) - description = "Tags to apply to all AWS resources created." default = {} + description = "Tags to apply to all AWS resources created." + type = map(string) }