This Terraform module creates a simple AWS Organization.
Deploy this module to your master account.
This module verifies if the AWS organization exists, if not, It creates.
The following resources will be created:
- Identity and Access Management(IAM) policies for the organization
module "org" {
source = "git::https://github.com/DNXLabs/terraform-aws-organization.git?ref=0.0.2"
}
Name | Version |
---|---|
terraform | >= 0.12.0 |
Name | Version |
---|---|
aws | n/a |
Name | Description | Type | Default | Required |
---|---|---|---|---|
already_exists | Whether the organization already exists or needs to be created | bool |
false |
no |
enable_aws_sso | Whether the AWS SSO needs to be enabled when creating a new organisation | bool |
false |
no |
name | Name for this organization (not actually used in API call) | any |
n/a | yes |
Name | Description |
---|---|
id | ID of organization created |
name | n/a |
roots_id | Roots of organization created |
Module managed by DNX Solutions.
Apache 2 Licensed. See LICENSE for full details.