When using provisionedConcurrency, serverless creates an alias for it and, as a result, the SQS trigger is not attached to it, making the provisionedConcurrency basically useless because nothing calls it. This PR adds handling for functions with provisioned concurrency by attaching the SQS to the alias itself. It's tested in a real environment and works as expected.
When using
provisionedConcurrency
, serverless creates an alias for it and, as a result, the SQS trigger is not attached to it, making theprovisionedConcurrency
basically useless because nothing calls it. This PR adds handling for functions with provisioned concurrency by attaching the SQS to the alias itself. It's tested in a real environment and works as expected.