Skip to content

This Terraform module can be used to create an AWS Organization, and it includes sub-modules to create Organizational Units and provision AWS member accounts.

License

Notifications You must be signed in to change notification settings

infraspecdev/terraform-aws-organizations

Repository files navigation

Terraform AWS Organizations Module

A Terraform module for creating and managing AWS Organizations.

Available Features

  • Organization Creation: Set up AWS Organizations.
  • Account Management: Create and manage member accounts.
  • Organizational Units: Establish and manage organizational units.

Requirements

Name Version
terraform >= 1.8.4
aws >= 5.51.0

Providers

Name Version
aws >= 5.51.0

Modules

No modules.

Resources

Name Type
aws_organizations_organization.org resource

Inputs

Name Description Type Default Required
enabled_policy_types (Optional) List of Organizations policy types to enable in the Organization Root. list(string) [] no
feature_set (Optional) Specify "ALL" (default) or "CONSOLIDATED_BILLING". string n/a yes
service_access_principals (Optional) List of AWS service principal names for which you want to enable integration with your organization. list(string) [] no

Outputs

Name Description
aws_organizations_organization_accounts List of organization accounts including the master account.
aws_organizations_organization_arn ARN of the organization.
aws_organizations_organization_id Identifier of the organization.
aws_organizations_organization_master_account_arn ARN of the master account.
aws_organizations_organization_master_account_email Email address of the master account.
aws_organizations_organization_master_account_id Identifier of the master account.
aws_organizations_organization_none_master_accounts List of organization accounts excluding the master account.
aws_organizations_organization_roots List of organization roots.
\n

About

This Terraform module can be used to create an AWS Organization, and it includes sub-modules to create Organizational Units and provision AWS member accounts.

Resources

License

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •  

Languages