Configure AWS credential environment variables for use in other GitHub Actions.
This action adds configuration required by the AWS CLI for use in subsequent actions.
Add the following step to your workflow:
- name: Configure AWS Credentials uses: aws/configure-aws-credentials-for-github-actions with: aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} aws-default-region: us-east-2 aws-default-output: json
This code is made available under the MIT license.