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

Running on localstack

Open EugeneKostrikov opened this issue 8 years ago • 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 avatar Oct 26 '17 07:10 EugeneKostrikov

@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

mrserverless avatar Oct 29 '17 11:10 mrserverless

ever get an example going for this?

kmarquardsen avatar Nov 16 '17 21:11 kmarquardsen

Haven't had a chance yet.

mrserverless avatar Nov 17 '17 01:11 mrserverless