From c35d61279f25b7311af349f82276479b76ca4b3b Mon Sep 17 00:00:00 2001 From: mark roberts Date: Mon, 16 Oct 2023 11:57:22 +0100 Subject: [PATCH 1/3] documentation fix --- .github/workflows/documentation.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 279379a6..64b9f508 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -4,7 +4,7 @@ on: pull_request: branches: - main - + permissions: read-all jobs: @@ -16,7 +16,7 @@ jobs: ref: ${{ github.event.pull_request.head.ref }} - name: Render terraform docs and push changes back to PR - uses: terraform-docs/gh-actions@f6d59f89a280fa0a3febf55ef68f146784b20ba0 # v1.0.0 + uses: terraform-docs/gh-actions@18dc76d9b2e3c746cf6f8e073c7fa7df16dcf620 # v1.0.0 with: working-dir: . output-file: README.md From 029aa9aeb15333870d889a8a689496bc4030476c Mon Sep 17 00:00:00 2001 From: mark roberts Date: Mon, 16 Oct 2023 12:22:12 +0100 Subject: [PATCH 2/3] made a change to permissions --- .github/workflows/documentation.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 64b9f508..cfdde6aa 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -5,7 +5,9 @@ on: branches: - main -permissions: read-all +permissions: + pull-requests: write + contents: write jobs: docs: From 972f1d66c39f31b3f60121df06d6cfecb03874ba Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 16 Oct 2023 11:22:37 +0000 Subject: [PATCH 3/3] terraform-docs: automated action --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0fbe7b3a..8d38e1c4 100644 --- a/README.md +++ b/README.md @@ -175,7 +175,7 @@ If you're looking to raise an issue with this module, please create a new issue | [aws_iam_policy.lb_glue_crawler](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_policy) | resource | | [aws_iam_role.lb_glue_crawler](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_role) | resource | | [aws_iam_role_policy_attachment.lb_glue_crawler](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_role_policy_attachment) | resource | -| [aws_iam_role_policy_attachment.lb_glue_servicec](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_role_policy_attachment) | resource | +| [aws_iam_role_policy_attachment.lb_glue_service](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_role_policy_attachment) | resource | | [aws_lb.loadbalancer](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/lb) | resource | | [aws_lb_target_group.this](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/lb_target_group) | resource | | [aws_security_group.lb](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/security_group) | resource |