From 94d93b6886a7a881bb2e9c176af4f4fabccb2c2d Mon Sep 17 00:00:00 2001 From: miampf Date: Tue, 13 Feb 2024 16:27:51 +0100 Subject: [PATCH] update to use correct roles --- .github/actions/e2e_cleanup_timeframe/action.yml | 4 ++-- .github/workflows/e2e-cleanup-weekly.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/actions/e2e_cleanup_timeframe/action.yml b/.github/actions/e2e_cleanup_timeframe/action.yml index f51785d2c..a9f125ecc 100644 --- a/.github/actions/e2e_cleanup_timeframe/action.yml +++ b/.github/actions/e2e_cleanup_timeframe/action.yml @@ -18,7 +18,7 @@ runs: - name: Authenticate AWS uses: aws-actions/configure-aws-credentials@010d0da01d0b5a38af31e9c3470dbfdabdecca3a # v4.0.1 with: - role-to-assume: arn:aws:iam::795746500882:role/GithubActionsE2ECluster + role-to-assume: arn:aws:iam::795746500882:role/GithubActionsE2EDestroy aws-region: eu-central-1 - name: Authenticate Azure @@ -29,7 +29,7 @@ runs: - name: Authenticate GCP uses: ./.github/actions/login_gcp with: - service_account: "infrastructure-e2e@constellation-e2e.iam.gserviceaccount.com" + service_account: "destroy-e2e@constellation-e2e.iam.gserviceaccount.com" - name: Install unzip uses: ./.github/actions/setup_bazel_nix diff --git a/.github/workflows/e2e-cleanup-weekly.yml b/.github/workflows/e2e-cleanup-weekly.yml index 685a724ed..aa0fa9e28 100644 --- a/.github/workflows/e2e-cleanup-weekly.yml +++ b/.github/workflows/e2e-cleanup-weekly.yml @@ -21,4 +21,4 @@ jobs: with: ghToken: ${{ secrets.GITHUB_TOKEN }} encryptionSecret: ${{ secrets.ARTIFACT_ENCRYPT_PASSWD }} - azure_credentials: ${{ secrets.AZURE_E2E_CLUSTER_CREDENTIALS }} + azure_credentials: ${{ secrets.AZURE_E2E_DESTROY_CREDENTIALS }}