0
I am facing a problem when making my application CD in AWS, within my yml code I have the following excerpt:
# Configure AWS credentials
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: us-east-1
But I get the following error:
Within my Github project I have the Crets this way:
I did some research but could not figure out the reason, I also did a test by passing the Crets in the code to test the CD and worked correctly, I’m forgetting to do some configuration?
Your variable name is wrong. Suffix is missing:
_ID
. In the variablesecrets.AWS_SECRET_ACCESS_KEY
. Should be:${{ secrets.AWS_SECRET_ACCESS_KEY_ID }}
.– Danizavtz
our do not believe I gave this mole, thank you very much.
– Gabriel Henrique