-
Notifications
You must be signed in to change notification settings - Fork 41
Invoke lambda locally with serverless invoke #124
Comments
I think this is an issue with sls deploy not working with arn layers (or that's not wired up correctly?). I wonder if there is a way to do this using the docker image: https://hub.docker.com/r/hayd/deno-lambda I am assuming this wasn't using that... -- Edit: I see:
when trying to run this locally with the example-serverless. |
we kind of need something like serverless-offline for deno-lambda. |
I remember there being an issue for My suspicion is you may be able to do this already with the --useDocker option (assuming you use the docker container. |
This repo is now archived because we are discontinuing the AWS Lambda layer for Deno. Instead we recommend you use a Docker image on AWS Lambda to run Deno. You can find a full guide in the docs. |
I am not able to invoke lambda locally with Serverless framework with
sls invoke local -f ...
All works well when I deploy my lambda, but when I try to run it locally I have the following error:
Failed to run docker for provided.al2 image. Error: Couldn't find valid bootstrap(s): [/var/task/bootstrap /opt/bootstrap]
If it is possible, could you provide some instructions how to do it.
Thanks
The text was updated successfully, but these errors were encountered: