Hi,
I have created a serverless function that connects Lambda to APiGateway with SQS.
The entire code is deployed in Jenkins.
When I first run “slss deploy” - everything is working as expected, all the resources are created.
When I want to update my Lambda with any changes (timeout, environment variables, etc…) using slss deploy function -f function_name -s demo
, the process fails with:
A valid option to satisfy the declaration ‘opt:stage’ could not be found
If I’m not using update-config I don’t get errors on the declaration but rather on the APIGateway:
An error occurred: createAPIGateway - Another resource with the same parent already has this name
Any Idea how I can overcome the two issues?
Thanks in advance.