serverless-dynamodb-local
serverless-dynamodb-local copied to clipboard
Plugin is broken with SLS v1.92 update
Actual Behaviour
When running
sls dynamodb start --migrate
I get:
_.get(...).includes is not a function
Expected Behaviour
To run the local db server and migrate tables.
Steps to reproduce it
Using windows machine:
- Upgrade SLS from 1.28 to v1.29.2
- run
sls dynamodb start --migrate
I got that too. I dug a bit through the code and fixed it by changing the way I had my plugins section of my serverless.yml file formatted.
Doesn't work:
plugins:
modules:
- serverless-dynamodb-local
- serverless-offline
Works:
plugins:
- serverless-dynamodb-local
- serverless-offline
See PR https://github.com/99xt/serverless-dynamodb-local/pull/222 for fix