configure-aws-credentials: aws-region does not work with secrets

Why can not aws-region use a secret?

I tried this but it does not work:

aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: ${{ secrets.AWS_REGION }}

This works:

aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: us-east-1

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Reactions: 7
  • Comments: 16 (3 by maintainers)

Most upvoted comments

@awendt This is not the case. I mean I used ${{ secrets.AWS_REGION }} with double brackets and it does not work yet.