Test aws access #1
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | on: | |
| push: | |
| branches: | |
| - bht | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Configure aws credentials | |
| uses: aws-actions/[email protected] | |
| with: | |
| role-to-assume: ${{ vars.AWS_IAM_ROLE_ARN }} | |
| aws-region: us-east-1 | |
| - name: Test S3 bucket access | |
| shell: bash | |
| run: | | |
| aws s3 ls |