99x / 99x/serverless-dynamodb-local
Migrate table exists but not found on Shell
- Dominant language
- JavaScript
- Stars
- 621
- Forks
- 232
- PR merge metrics
- No merged PRs in 30d
Description
**Actual Behaviour**
I'm using serverless with python and using docker with dynamo:
https://github.com/dwmkerr/docker-dynamodb
now created the docker container with port 8000 shared with localhost.
ie:
```
dynamo:
image: dwmkerr/dynamodb
ports:
- "8000:8000"
```
then after I activate the container, I run the migrate command:
`sls dynamodb migrate --account local --port 8000 --host 127.0.0.1`
Im aiming to my localhost on port 8000 as the port is shared with the docker container.
now when I run the command for the first time, it says the table was created. That's great.
When I run for the second time, it says: table already exists. That's great.
But when I access the shell on
`http://localhost:8000/shell/`
and try to list the tables, I dont see it...
Any ideas what is missing here?
**Expected Behaviour**
created table, do not appear on shell.
**Steps to reproduce it**
- create a docker-compose file with the image above
- create the container and let it run
- run the dynamo migrate command while pointing to that dynamo instance
- check tables on shell
**LogCat for the issue**
no crash.
Contributor guide
Research direction
Start by reproducing the Docker setup, the `sls dynamodb migrate --account local --port 8000 --host 127.0.0.1` command, and the shell at `http://localhost:8000/shell/`. Compare the migrated table's visibility through the migration command and the shell, then confirm that the created table appears in the shell listing without changing the reproduction steps.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, docker, javascript
- Domain
- database, devops
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100