Creates an a organization with several accounts.
Name | Version |
---|---|
terraform | >= 0.12 |
Name | Version |
---|---|
aws | n/a |
Name | Description | Type | Default | Required |
---|---|---|---|---|
account_emails | Emails of the accounts to create. Must be different for each account. | list(string) |
n/a | yes |
account_names | Names of the accounts to create. | list(string) |
n/a | yes |
organization_create | Whether to create the organization or not. | bool |
true |
no |
Name | Description |
---|---|
account_count | Number of sub-accounts created. |
account_ids | Organization sub-account ids. |
account_names | Organization sub-account names. |
arn | ARN of the organization. |
id | Id of the organization. |
master_account_arn | Main (root) account ARN. |
master_account_email | Main (root) account email. |
master_account_id | Main (root) account id. |