Terraform module to create an Organizational Unit (OU) in AWS Organizations.
| Name | Version |
|---|---|
| terraform | ~> 1.8.4 |
| aws | ~> 5.51.0 |
| Name | Version |
|---|---|
| aws | ~> 5.51.0 |
No modules.
| Name | Type |
|---|---|
| aws_organizations_organizational_unit.this | resource |
| aws_organizations_policy_attachment.policy_attachment | resource |
| aws_organizations_organization.org | data source |
| Name | Description | Type | Default | Required |
|---|---|---|---|---|
| attached_policies | List of policy IDs to attach to the organizational unit. | list(string) |
[] |
no |
| organizational_unit_name | The name of the organizational unit | string |
n/a | yes |
| parent_org_id | The ID of the parent organizational unit. | string |
"" |
no |
| Name | Description |
|---|---|
| organizational_unit_id | The ID of the created organizational unit. |