Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/infraspecdev/terraform-aws-organizational-unit
https://github.com/infraspecdev/terraform-aws-organizational-unit
Last synced: 3 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/infraspecdev/terraform-aws-organizational-unit
- Owner: infraspecdev
- Created: 2024-05-29T02:13:40.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-11-27T10:07:00.000Z (about 1 month ago)
- Last Synced: 2024-11-27T11:20:27.079Z (about 1 month ago)
- Language: HCL
- Size: 11.7 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# terraform-aws-organizational-unit
Terraform module to create an Organizational Unit (OU) in AWS Organizations.
## Requirements
| Name | Version |
|------|---------|
| [terraform](#requirement\_terraform) | ~> 1.8.4 |
| [aws](#requirement\_aws) | ~> 5.51.0 |## Providers
| Name | Version |
|------|---------|
| [aws](#provider\_aws) | ~> 5.51.0 |## Modules
No modules.
## Resources
| Name | Type |
|------|------|
| [aws_organizations_organizational_unit.this](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/organizations_organizational_unit) | resource |
| [aws_organizations_policy_attachment.policy_attachment](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/organizations_policy_attachment) | resource |
| [aws_organizations_organization.org](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/organizations_organization) | data source |## Inputs
| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| [attached\_policies](#input\_attached\_policies) | List of policy IDs to attach to the organizational unit. | `list(string)` | `[]` | no |
| [organizational\_unit\_name](#input\_organizational\_unit\_name) | The name of the organizational unit | `string` | n/a | yes |
| [parent\_org\_id](#input\_parent\_org\_id) | The ID of the parent organizational unit. | `string` | `""` | no |## Outputs
| Name | Description |
|------|-------------|
| [organizational\_unit\_id](#output\_organizational\_unit\_id) | The ID of the created organizational unit. |