-
Notifications
You must be signed in to change notification settings - Fork 8
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
[BUG]: Create Table command in AppStack.ts not idempotent. #1033
Comments
Hello @alantao912! Thank you for submitting the 🐞Bug Request Form. We appreciate your contribution. 👋 We will look into it and provide a response as soon as possible. To work on this bug request, you can follow these branch setup instructions:
Feel free to make the necessary changes in this branch and submit a pull request when you're ready. Best regards, |
@alantao912 status on this? |
@alantao912 any status on this? |
Operating system
Windows 11
Bug description
Create Table command in AppStack.ts throws an exception if the specified table already exists in DynamoDB. Prevents SST from starting. In other words, the command is not idempotent. We should check if the table exists first, and if not, create it then.
Steps to reproduce
Un-comment the
lines of code, and then type dlp-cli start.
It should complain about the specified table already existing, and then fail to start.
The text was updated successfully, but these errors were encountered: