diff --git a/.github/workflows/aws-ci.yml b/.github/workflows/aws-ci.yml index 42b39bda2..b960c3fa2 100644 --- a/.github/workflows/aws-ci.yml +++ b/.github/workflows/aws-ci.yml @@ -39,6 +39,13 @@ jobs: uses: aws-actions/aws-codebuild-run-build@v1 with: project-name: ${{ secrets.CI_TESTING_CODE_BUILD_PROJECT_NAME }} + - name: Configure Test Sweeper Lambda Credentials + if: always() + uses: aws-actions/configure-aws-credentials@e3dd6a429d7300a6a4c196c26e071d42e0343502 #v4 + with: + role-to-assume: ${{ steps.lambda.outputs.roleArn }} + role-duration-seconds: 7200 + aws-region: us-west-2 - name: Invoke Test Sweeper Lambda if: always() shell: pwsh @@ -49,4 +56,3 @@ jobs: run: | $buildId = "${{ steps.codebuild.outputs.aws-build-id }}" echo $buildId -