File tree Expand file tree Collapse file tree 2 files changed +60
-0
lines changed Expand file tree Collapse file tree 2 files changed +60
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Generate terraform docs
2+ on :
3+ - pull_request
4+
5+ jobs :
6+ docs :
7+ runs-on : ubuntu-latest
8+ steps :
9+ - uses : actions/checkout@v4
10+ with :
11+ ref : ${{ github.event.pull_request.head.ref }}
12+
13+ - name : Render terraform docs and push changes back to PR
14+ uses : terraform-docs/gh-actions@main
15+ with :
16+ working-dir : .
17+ output-file : README.md
18+ output-method : inject
19+ git-push : " true"
Original file line number Diff line number Diff line change 1+ # terraform-aws-organizational-unit
2+
3+ Terraform module to create an Organizational Unit (OU) in AWS Organizations.
4+
5+ <!-- BEGIN_TF_DOCS -->
6+ ## Requirements
7+
8+ | Name | Version |
9+ | ------| ---------|
10+ | <a name =" requirement_terraform " ></a > [ terraform] ( #requirement\_ terraform ) | ~ > 1.8.4 |
11+ | <a name =" requirement_aws " ></a > [ aws] ( #requirement\_ aws ) | ~ > 5.51.0 |
12+
13+ ## Providers
14+
15+ | Name | Version |
16+ | ------| ---------|
17+ | <a name =" provider_aws " ></a > [ aws] ( #provider\_ aws ) | ~ > 5.51.0 |
18+
19+ ## Modules
20+
21+ No modules.
22+
23+ ## Resources
24+
25+ | Name | Type |
26+ | ------| ------|
27+ | [ aws_organizations_organizational_unit.this] ( https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/organizations_organizational_unit ) | resource |
28+ | [ aws_organizations_organization.org] ( https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/organizations_organization ) | data source |
29+
30+ ## Inputs
31+
32+ | Name | Description | Type | Default | Required |
33+ | ------| -------------| ------| ---------| :--------:|
34+ | <a name =" input_name " ></a > [ name] ( #input\_ name ) | The name of the organizational unit | ` string ` | n/a | yes |
35+
36+ ## Outputs
37+
38+ | Name | Description |
39+ | ------| -------------|
40+ | <a name =" output_id " ></a > [ id] ( #output\_ id ) | The ID of the organizational unit |
41+ <!-- END_TF_DOCS -->
You can’t perform that action at this time.
0 commit comments