Skip to content
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

Unable to migrate to Docker's Dynamodb #254

Open
lunizxx opened this issue Jun 8, 2020 · 0 comments
Open

Unable to migrate to Docker's Dynamodb #254

lunizxx opened this issue Jun 8, 2020 · 0 comments

Comments

@lunizxx
Copy link

lunizxx commented Jun 8, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant