99x / 99x/serverless-dynamodb-local
Add command to drop and reset tables
- Dominant language
- JavaScript
- Stars
- 621
- Forks
- 232
- PR merge metrics
- No merged PRs in 30d
Description
I was using this plugin against dynamodb local and resetting my data was as simple as killing serverless and restarting it. Now I'm running against DynamoDB in localstack so my data sticks around longer. So what I'd like to do is drop all the tables for a project and recreate them.
I created a plugin locally to do this locally, but I'm already using it in two places. I could just publish my plugin to npm but 90% of it is duplicated from this plugin. So I'd be happy to add a 'drop' and 'reset' command to this plugin if it's something you're interested in. I would have just created a PR with the commands, but I wasn't sure if dropping and/or resetting is something you actually don't want the plugin to do.
Contributor guide
Research direction
Start by reviewing the plugin's existing command entry points and comparing them with the locally created plugin mentioned in the issue. Determine how a project’s DynamoDB tables are currently created, then define the expected behavior for separate drop and reset commands and verify it against DynamoDB Local or LocalStack.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, javascript
- Domain
- cli, database
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100