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

serverless-express-rest-api gives error when run locally with dynamodb #598

Closed
mKurrels opened this issue May 4, 2018 · 1 comment
Closed

Comments

@mKurrels
Copy link

mKurrels commented May 4, 2018

When I follow this blog post everything works until I try to run the application locally with dynamodb.

Then I get the error:
ResourceNotFoundException: Cannot do operations on a non-existent table

@mKurrels
Copy link
Author

mKurrels commented May 4, 2018

eh, never mind.

I forgot to add this to the yml file:

custom:
  tableName: 'users-table-${self:provider.stage}'
  dynamodb:
    start:
      migrate: true

@mKurrels mKurrels closed this as completed May 4, 2018
This issue was closed.
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