aws_organizations_organization
Provides a resource to create an organization.
Example Usage:
resource "aws_organizations_organization" "org" { feature_set = "ALL" }
Argument Reference
The following arguments are supported:
-
feature_set
- (Optional) Specify "ALL" (default) or "CONSOLIDATED_BILLING".
Attributes Reference
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
Import
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