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
I'm unable to start a SQS event lambda consumer on event when the serverless is launched offline with useDocker option. If I don't run the functions in docker containers that handler is triggered successfully. I'm using the example from here (I'm not the author) https://github.com/alexyklu/serverless-offline-lambda-with-sqs. Bumped the deps in the repo to the following:
and had to update the runtime to runtime: nodejs12.x . Launching it like that:
sls offline start --stage local --useDocker
I'm forced to use the docker approach because my handler is a golang function and as far I understand there is no other way to use golang other than using docker. Any workaround to any of the problems?
The text was updated successfully, but these errors were encountered:
I'm unable to start a SQS event lambda consumer on event when the serverless is launched offline with
useDocker
option. If I don't run the functions in docker containers that handler is triggered successfully. I'm using the example from here (I'm not the author) https://github.com/alexyklu/serverless-offline-lambda-with-sqs. Bumped the deps in the repo to the following:and had to update the runtime to
runtime: nodejs12.x
. Launching it like that:sls offline start --stage local --useDocker
I'm forced to use the docker approach because my handler is a golang function and as far I understand there is no other way to use golang other than using docker. Any workaround to any of the problems?
The text was updated successfully, but these errors were encountered: