-
Notifications
You must be signed in to change notification settings - Fork 236
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not starting DDB-local when running sls offline #256
Comments
Alright finally I found out a method (it's very raw) to locally test dynamodb I have this version: serverless.yml custom parameters:
My lambda runs this configuration:
after that I run This works, it's the first solution that worked for me, I will try to improve it in the meantime you could use this one |
I've had some issue similar to this that were fixed by setting the correct order of plugins in serverless.yml file. Put serverless-offline before dynamodb, i.e. like below
|
Yeah, same issue here... you can start it with Edit: it seems I have found the solution... run serverless offline with the command: |
According to the docs |
# ✅ works
sls offline start
serverless offline start # ❌ not work
sls offline
serverless offline
Because serverless-dynamodb-local has hook with So you need to add |
Actual Behaviour
Not starting local dynamo when running
sls offline
Steps to reproduce it
LogCat for the issue
Provide logs for the crash here
Would you like to work on the issue?
Not sure where to start
The text was updated successfully, but these errors were encountered: