99x / 99x/serverless-dynamodb-local
Using dynamodb on local network with serverless offline
- Dominant language
- JavaScript
- Stars
- 621
- Forks
- 232
- PR merge metrics
- No merged PRs in 30d
Description
I have dynamodb local running on a network server with IP 192.168.0.200.
My serverless.yml file is setup as follows:
```
plugins:
- serverless-dynamodb-local
- serverless-offline
custom:
dynamodb:
start:
host: 192.168.0.200
noStart: true
migrate: true
```
When running `serverless offline start` I can see that the output says that the migration worked and the table was created and on a rerun it says that the table already exists.
But when I actually check the dynamodb database on the server i see no tables. Also using serverless-dynamodb-client to query the db i get "Cannot do operations on a non-existent table"
It seems to me that the migration does not actually run on the 192.168.0.200 server but locally.
Contributor guide
Research direction
Start with the serverless.yml configuration, the serverless offline start migration output, and the serverless-dynamodb-client query path. Reproduce the setup with DynamoDB Local at 192.168.0.200 and verify whether migration and client operations use that server; done means the remote database contains the migrated table and queries succeed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, javascript
- Domain
- databases
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100