serverless-plugins icon indicating copy to clipboard operation
serverless-plugins copied to clipboard

serverless-offline-sqs has undefined reference to this.region

Open zlalvani opened this issue 3 years ago • 1 comments

In packages/serverless-offline-sqs/src/sqs.js, there is an undefined reference to this.region that causes the awsRegion parameter to not be passed to lambda invocations.

I've made a PR to fix the issue here: #166

zlalvani avatar May 10 '21 22:05 zlalvani

Facing the same issue when using AWS Powertools

Messages put into the SQS do not have the awsRegion field because of this causing a ValidationError

jlopezscala avatar May 10 '21 23:05 jlopezscala