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

On destroy, retain the DynamoDB table by default (if it has anything in it). #94

Open
6 tasks
zanerock opened this issue Mar 20, 2024 · 0 comments
Open
6 tasks
Labels
enhancement New feature or request
Milestone

Comments

@zanerock
Copy link
Member

zanerock commented Mar 20, 2024

Overview

We don't want to accidentally delete important data.

Deliverables

  • figure out how to retain the DB and make sure it doesn't cause a false error when it fails to delete
  • implement --destroy-data option that will delete the DB
  • check if DB is empty, in which case we always delete it
  • add a retained section to cloudsite-db.json which is like cleanup described in Implement delayed cleanup support #93, except it lists retained items.
  • implement cloudsite retained list, cloudsite retained list --arn which can reuse the logic from cleanup
  • implement cloudsite retained delete XXX [YYY...] which deletes the specified resources reusing the logic from cleanup
@zanerock zanerock added the enhancement New feature or request label Mar 20, 2024
@zanerock zanerock added this to the 1.0.0-rc milestone Mar 20, 2024
@zanerock zanerock changed the title On destroy, retain the DynamoDB table by default. On destroy, retain the DynamoDB table by default (if it has anything in it). Mar 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant