From 41e4b870ccb7a0e568f14d27335fb2f9c4c8527b Mon Sep 17 00:00:00 2001 From: "blackbirdcloudrepomanager[bot]" <180657674+blackbirdcloudrepomanager[bot]@users.noreply.github.com> Date: Tue, 17 Sep 2024 09:44:41 +0000 Subject: [PATCH 1/6] Managed by BlackbirdCloud Repository Manager --- .config/.terraform-docs.yml | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/.config/.terraform-docs.yml b/.config/.terraform-docs.yml index 8e4cdd7..179c8a2 100644 --- a/.config/.terraform-docs.yml +++ b/.config/.terraform-docs.yml @@ -14,8 +14,7 @@ sections: - modules content: |- - # AWS Organizations Terraform module - A Terraform module which configures your AWS Organization and creates AWS accounts. Read [this](https://docs.aws.amazon.com/organizations/index.html) page for more information, and for a secure reference architecture by AWS, read [this](https://docs.aws.amazon.com/prescriptive-guidance/latest/security-reference-architecture/welcome.html) page. + {{ include "./.config/title.md"}} {{ .Header }} @@ -24,9 +23,14 @@ content: |- {{ include "./example/main.tf" }} ``` - {{ include "./modules/accounts/README.md" }} - {{ include "./modules/organization/README.md" }} - {{ include "./modules/organization-policy/README.md" }} - {{ include "./modules/organizational-units/README.md" }} + {{ .Requirements }} + + {{ .Providers }} + + {{ .Resources }} + + {{ .Inputs }} + + {{ .Outputs }} {{ .Footer }} From 810ed3e7df6532f0875910c71fca578f35c5b330 Mon Sep 17 00:00:00 2001 From: "blackbirdcloudrepomanager[bot]" <180657674+blackbirdcloudrepomanager[bot]@users.noreply.github.com> Date: Tue, 17 Sep 2024 09:45:23 +0000 Subject: [PATCH 2/6] Managed by BlackbirdCloud Repository Manager --- .config/footer.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/footer.md b/.config/footer.md index f7fd459..5232e4d 100644 --- a/.config/footer.md +++ b/.config/footer.md @@ -6,4 +6,4 @@ Checkout our other :point_right: [terraform modules](https://registry.terraform. ## Copyright -Copyright © 2017-2023 [Blackbird Cloud](https://www.blackbird.cloud) +Copyright © 2017-2024 [Blackbird Cloud](https://blackbird.cloud) From a269afb541a1a8324163d0ea8b4d860b6fdab78c Mon Sep 17 00:00:00 2001 From: "blackbirdcloudrepomanager[bot]" <180657674+blackbirdcloudrepomanager[bot]@users.noreply.github.com> Date: Tue, 17 Sep 2024 09:45:46 +0000 Subject: [PATCH 3/6] Managed by BlackbirdCloud Repository Manager --- .config/title.md | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 .config/title.md diff --git a/.config/title.md b/.config/title.md new file mode 100644 index 0000000..9795b5a --- /dev/null +++ b/.config/title.md @@ -0,0 +1,2 @@ +# Terraform Aws Organization Module +Terraform module to create an AWS Organization \ No newline at end of file From f9dfc1af7100772da657049044a674c25803a0a3 Mon Sep 17 00:00:00 2001 From: "blackbirdcloudrepomanager[bot]" <180657674+blackbirdcloudrepomanager[bot]@users.noreply.github.com> Date: Tue, 17 Sep 2024 09:46:17 +0000 Subject: [PATCH 4/6] Managed by BlackbirdCloud Repository Manager --- .github/workflows/readme.yml | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/.github/workflows/readme.yml b/.github/workflows/readme.yml index d32226c..2fcce86 100644 --- a/.github/workflows/readme.yml +++ b/.github/workflows/readme.yml @@ -1,18 +1,28 @@ -name: Generate terraform docs +name: Generate Readme + on: - - pull_request + push: + branches: + - main + workflow_dispatch: jobs: - docs: + generate-readme: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/create-github-app-token@v1 + id: app-token with: - ref: ${{ github.event.pull_request.head.ref }} - + app-id: ${{ vars.BB_REPO_MANAGER_APP_ID }} + private-key: ${{ secrets.BB_REPO_MANAGER_SECRET }} + - uses: actions/checkout@v4 + with: + token: ${{ steps.app-token.outputs.token }} - name: Render terraform docs and push changes back to PR uses: terraform-docs/gh-actions@main with: working-dir: . + config-file: .config/.terraform-docs.yml git-push: "true" output-method: replace + \ No newline at end of file From d1dff7e6a3bbd56224241cb089b87992bedeba4b Mon Sep 17 00:00:00 2001 From: "blackbirdcloudrepomanager[bot]" <180657674+blackbirdcloudrepomanager[bot]@users.noreply.github.com> Date: Tue, 17 Sep 2024 09:46:38 +0000 Subject: [PATCH 5/6] Managed by BlackbirdCloud Repository Manager --- .github/workflows/format.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index 6bf95f1..d487763 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -1,8 +1,9 @@ name: Validate and Format -# on: push + on: - pull_request_target: - types: [opened, synchronize] + workflow_dispatch: + # pull_request_target: + # types: [opened, synchronize] jobs: format: @@ -11,7 +12,7 @@ jobs: container: blackbirdcloud/terraform-toolkit:latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: ${{ github.event.pull_request.head.repo.full_name }} ref: ${{ github.event.pull_request.head.ref }} @@ -30,4 +31,4 @@ jobs: - name: Commit and push uses: EndBug/add-and-commit@v9 with: - default_author: github_actions + default_author: github_actions \ No newline at end of file From 750cf86cc3d825ea4ba6ea95187514b33868eba2 Mon Sep 17 00:00:00 2001 From: "blackbirdcloudrepomanager[bot]" <180657674+blackbirdcloudrepomanager[bot]@users.noreply.github.com> Date: Tue, 17 Sep 2024 09:46:59 +0000 Subject: [PATCH 6/6] Managed by BlackbirdCloud Repository Manager --- .config/header.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/header.md b/.config/header.md index 3ce7a4f..60cf1ef 100644 --- a/.config/header.md +++ b/.config/header.md @@ -1 +1 @@ -[![blackbird-logo](https://raw.githubusercontent.com/blackbird-cloud/terraform-module-template/main/.config/logo_simple.png)](https://www.blackbird.cloud) +[![blackbird-logo](https://raw.githubusercontent.com/blackbird-cloud/terraform-module-template/main/.config/logo_simple.png)](https://blackbird.cloud) \ No newline at end of file