99x / 99x/serverless-dynamodb-local
Unable to migrate to Docker's Dynamodb
- Dominant language
- JavaScript
- Stars
- 621
- Forks
- 232
- PR merge metrics
- No merged PRs in 30d
Description
I'm using Serverless framework and Dynamodb's "serverless-dynamodb-local" plugin in order to migrate my table configurations to my amazon's "dynamodb-local" docker container. Serverless dynamodb local cannot have persistent data, after i stopped "sls dynamodb start" command, all of the tables and datas are gone. That was the main reason i'm using Docker, in order to provide persistent data. But this plugin cannot migrate tables to Docker's dynamodb on localhost.
Here is my serverless configuration: ( no problem about indent lines, i just couldn't make indents here )
custom:
dynamodb:
stages:
- dev
start:
port: 8000
inMemory: false
migrate: true
noStart: true
Here is my docker configuration:
Port: 8000
InMemory: true
DbPath: null
SharedDb: false
shouldDelayTransientStatuses: false
CorsParams: *
Whenever i ran "sls dynamodb start" it says that the tables are created but actually no tables are created when i check, when i run the same command it says tables are already exist but actually there is no table is generated when i look from shell or GUI.
Thanks in advance for your responses.
Contributor guide
Research direction
Start with the serverless-dynamodb-local migration and startup path invoked by `sls dynamodb start`, using the supplied Serverless and Docker configurations as the reproduction case. Verify where the plugin connects and where tables are created, then confirm that migrated tables are visible in the Docker DynamoDB instance after the command completes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, docker, javascript
- Domain
- databases, devops
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100