You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since this plugin creates another alias and makes API Gateway use it instead of the above one, API Gateway won't have permission to invoke the function.
Any other comments?
The linked repository has a plugin (commented out in serverless.yml) that attempts to fix the issue, by modifying the Permission resource.
Repository that reproduces the problem: https://github.com/humodz-forks/serverless-canary-concurrency-issue
What are the steps to reproduce this issue?
serverless.yml
, addprovisionedConcurrency: 1
to the function's configurationWhat happens?
It returns an internal server error
In the linked repository, this endpoint doesn't use provisionedConcurency and is able to invoke the function:
This one doesn't use provisionedConcurency and always returns Internal Server Error:
What were you expecting to happen?
It should be able to invoke the function, even with provisionedConcurrency
Any logs, error output, etc?
When provisionedConcurrency is set, Serverless creates a "provisioned" alias and an
AWS::Lambda::Permission
resource that looks like this:Since this plugin creates another alias and makes API Gateway use it instead of the above one, API Gateway won't have permission to invoke the function.
Any other comments?
The linked repository has a plugin (commented out in serverless.yml) that attempts to fix the issue, by modifying the Permission resource.
What versions of software are you using?
Node v10.18.1
[email protected]
[email protected]
The text was updated successfully, but these errors were encountered: