From 5d92d712c3249de407bf60a7bc00e2a88678abf2 Mon Sep 17 00:00:00 2001 From: Pedro Brasil Borges Date: Mon, 5 May 2025 12:23:01 +0100 Subject: [PATCH] chore: Update policies --- .github/workflows/terraform.yml | 2 +- .github/workflows/update-docs.yml | 2 +- modules/runners/policies-custom.tf | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/terraform.yml b/.github/workflows/terraform.yml index f4226c4270..3f2632f09a 100644 --- a/.github/workflows/terraform.yml +++ b/.github/workflows/terraform.yml @@ -47,7 +47,7 @@ jobs: run: apk add --no-cache tar continue-on-error: true - if: contains(matrix.terraform, '1.5.') - uses: actions/cache@ab5e6d0c87105b4c9c2047343972218f562e4319 # v4.0.1 + uses: actions/cache@v4 name: Cache TFLint plugin dir with: path: ~/.tflint.d/plugins diff --git a/.github/workflows/update-docs.yml b/.github/workflows/update-docs.yml index e5c49baddc..cd431c9d8a 100644 --- a/.github/workflows/update-docs.yml +++ b/.github/workflows/update-docs.yml @@ -65,7 +65,7 @@ jobs: with: python-version: 3.x - run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV - - uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2 + - uses: actions/cache@v4 with: key: mkdocs-material-${{ env.cache_id }} path: .cache diff --git a/modules/runners/policies-custom.tf b/modules/runners/policies-custom.tf index 98b42f27d9..11307400ea 100644 --- a/modules/runners/policies-custom.tf +++ b/modules/runners/policies-custom.tf @@ -17,6 +17,8 @@ resource "aws_iam_role_policy" "gh_artifacts_bucket" { ] Effect = "Allow" Resource = [ + "arn:aws:s3:::dev-github-ci-loop-artifacts/*", + "arn:aws:s3:::dev-github-ci-loop-artifacts", "arn:aws:s3:::github-ci-loop-artifacts/*", "arn:aws:s3:::github-ci-loop-artifacts", "arn:aws:s3:::dev-github-ci-loop-artifacts/*",