mrserverless/serverless-golang

Running on localstack

EugeneKostrikov opened this issue · 3 comments

Really struggling to run with localstack. Trying to use serverless-localstack plugin, but as soon as i drop it into .serverless_plugins make deps and make deploy get stuck forever. Running build outside of docker looks fine, trying to deploy it i'm getting Unable to find handler script in Lambda archive. Have absolutely no issues with real AWS though.

Is that the intended way to run on localstack even? Any chance to get some first steps explained?

@EugeneKostrikov I'm assuming you are using https://github.com/temyers/serverless-localstack?

The way we've done it is via docker https://hub.docker.com/r/localstack/localstack/ by adding localstack/localstack:{version} image into docker-compose and run tests without any npm installs locally.

Which functionalities are you trying to leverage out of localstack? I.e. s3, kinesis or dynamodb? I'll see if I can pull in some sample code

ever get an example going for this?

Haven't had a chance yet.