Skip to content

DNXLabs/terraform-aws-organization

Repository files navigation

terraform-aws-organization

Lint Status LICENSE

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

Usage

module "org" {
  source = "git::https://github.com/DNXLabs/terraform-aws-organization.git?ref=0.0.2"
}

Requirements

Name Version
terraform >= 0.12.0

Providers

Name Version
aws n/a

Inputs

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

Outputs

Name Description
id ID of organization created
name n/a
roots_id Roots of organization created

Authors

Module managed by DNX Solutions.

License

Apache 2 Licensed. See LICENSE for full details.