-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
output "accounts" { | ||
value = controltower_aws_account.accounts | ||
description = "The AWS accounts created by Control Tower." | ||
value = controltower_aws_account.accounts | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 = \"[email protected]\", account_name = \"Example Account 1\", account_org_unit = \"Sandbox\", provisioned_product_name = \"example-account-1\", sso_email = \"[email protected]\", sso_first_name = \"John\", sso_last_name = \"Doe\"}, {account_email = \"[email protected]\", account_name = \"Example Account 2\", account_org_unit = \"Sandbox\", provisioned_product_name = \"example-account-2\", sso_email = \"[email protected]\", 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) | ||
} |