diff --git a/.github/workflows/e2e-parallel-full.yml b/.github/workflows/e2e-parallel-full.yml index 6d53f06da9..a9b26189eb 100644 --- a/.github/workflows/e2e-parallel-full.yml +++ b/.github/workflows/e2e-parallel-full.yml @@ -121,29 +121,29 @@ jobs: cat ${HOME}/policy.json aws s3 cp ${HOME}/policy.json s3://${{ env.BUCKET_NAME }}/${{ matrix.example_path }}.json - post_deploy: - if: ${{ always() }} - needs: [deploy] - permissions: - id-token: write - contents: read - name: Merge Policies and Print Final IAM Policy - runs-on: ubuntu-latest - steps: - # Be careful not to change this to explicit checkout from PR ref/code, as below we run a python code that may change from the PR code. - - name: Checkout - uses: actions/checkout@v3 - - - name: Configure AWS credentials from Test account - uses: aws-actions/configure-aws-credentials@v1 - with: - role-to-assume: ${{ secrets.ROLE_TO_ASSUME }} - aws-region: us-west-2 - role-duration-seconds: 3600 - role-session-name: GithubActions-Session - - - name: Merge iamlive IAM policies and Print Final Policy - id: dirs - run: | - pip3 install boto3 - python3 .github/workflows/iam-policy-generator.py + post_deploy: + if: ${{ always() }} + needs: [deploy] + permissions: + id-token: write + contents: read + name: Merge Policies and Print Final IAM Policy + runs-on: ubuntu-latest + steps: + # Be careful not to change this to explicit checkout from PR ref/code, as below we run a python code that may change from the PR code. + - name: Checkout + uses: actions/checkout@v3 + + - name: Configure AWS credentials from Test account + uses: aws-actions/configure-aws-credentials@v1 + with: + role-to-assume: ${{ secrets.ROLE_TO_ASSUME }} + aws-region: us-west-2 + role-duration-seconds: 3600 + role-session-name: GithubActions-Session + + - name: Merge iamlive IAM policies and Print Final Policy + id: dirs + run: | + pip3 install boto3 + python3 .github/workflows/iam-policy-generator.py