Provides a resource to create an organization.
resource "aws_organizations_organization" "org" { feature_set = "ALL" }
The following arguments are supported:
feature_set
- (Optional) Specify "ALL" (default) or "CONSOLIDATED_BILLING". In addition to all arguments above, the following attributes are exported:
arn
- ARN of the organization id
- Identifier of the organization master_account_arn
- ARN of the master account master_account_email
- Email address of the master account master_account_id
- Identifier of the master account The AWS organization can be imported by using the id
, e.g.
$ terraform import aws_organizations_organization.my_org o-1234567
© 2018 HashiCorpLicensed under the MPL 2.0 License.
https://www.terraform.io/docs/providers/aws/r/organizations_organization.html