File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -10,18 +10,23 @@ permissions:
1010 contents : read
1111
1212jobs :
13- Sandbox :
13+ sandbox :
14+ name : " Plan & Deploy Sandbox Environment"
1415 runs-on : ubuntu-latest
1516 environment : Sandbox
1617 steps :
1718 - name : Checkout
1819 uses : actions/checkout@main
1920
21+ - name : " Validate Repository Secrets"
22+ run : |
23+ [[ "${{ vars.DEPLOY_ROLE_ARN }}" -eq "" ]] echo "::error title=Repository Configuration Incomplete::This repository is missing a secret for DEPLOY_ROLE_ARN!"
24+
2025 - name : Configure AWS credentials
2126 uses : aws-actions/configure-aws-credentials@v1.7.0
2227 with :
2328 role-to-assume : ${{ vars.DEPLOY_ROLE_ARN }}
24- role-session-name : Test-AWS-GHA-OIDC
29+ role-session-name : ${{ github.repository }}|${{ github.event_name }}|${{github.ref}}
2530 aws-region : ${{ vars.AWS_REGION }}
2631
2732 - name : Plan
You can’t perform that action at this time.
0 commit comments