diff --git a/.github/workflows/environment-main-deploy.yaml b/.github/workflows/environment-main-deploy.yaml index cc2ed649..60a74bc6 100644 --- a/.github/workflows/environment-main-deploy.yaml +++ b/.github/workflows/environment-main-deploy.yaml @@ -21,7 +21,7 @@ jobs: - name: Checkout code uses: actions/checkout@9a9194f87191a7e9055e3e9b95b8cfb13023bb08 - name: Configure AWS Access - uses: aws-actions/configure-aws-credentials@67fbcbb121271f7775d2e7715933280b06314838 + uses: aws-actions/configure-aws-credentials@39228ca2bffc0bfc8f7761ce893f5b80e7eaaf8f with: role-to-assume: arn:aws:iam::${{ vars.AWS_ACCOUNT }}:role/GitHubAction-Wildsea@${{ vars.ENVIRONMENT }} role-session-name: GitHubTest diff --git a/.github/workflows/environment-main-plan.yaml b/.github/workflows/environment-main-plan.yaml index 7e8ad22b..4949f42d 100644 --- a/.github/workflows/environment-main-plan.yaml +++ b/.github/workflows/environment-main-plan.yaml @@ -19,7 +19,7 @@ jobs: - name: Checkout code uses: actions/checkout@9a9194f87191a7e9055e3e9b95b8cfb13023bb08 - name: Configure AWS Access - uses: aws-actions/configure-aws-credentials@67fbcbb121271f7775d2e7715933280b06314838 + uses: aws-actions/configure-aws-credentials@39228ca2bffc0bfc8f7761ce893f5b80e7eaaf8f with: role-to-assume: arn:aws:iam::${{ vars.AWS_ACCOUNT }}:role/GitHubAction-Wildsea role-session-name: GitHubTest