Closed grardov closed 1 year ago
I found the issue. In my case, I'm using two different environments for deploying my functions to AWS. The issue was that I need to set the environment that I'm using in the action, then, the action able to find the correct secret for the specific environment.
environment:
name: Staging # this the name of my env in Github repository.
I'll close the issue.
I'm creating a new project for creating lambdas. I created a Github Action for deploying my lambdas to AWS, however, I'm getting this error:
Locally is working fine, I can deploy my lambdas without problems.
This is my
serverless.yml
file.And this is the Github Action that I'm trying to run.
The secrets are defined in my Github repository. I'm not sure if a need to do something else.