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

Refactor stack to delete all user generated data #5

Open
2 of 3 tasks
fabdy opened this issue Nov 3, 2022 · 1 comment
Open
2 of 3 tasks

Refactor stack to delete all user generated data #5

fabdy opened this issue Nov 3, 2022 · 1 comment
Labels
good first issue Good for newcomers

Comments

@fabdy
Copy link
Contributor

fabdy commented Nov 3, 2022

Currently, custom Athena workgroups and the dbt artifact repo are not deleted during a cdk destroy when there is user data within that workgroup. Refactor the stack flag for the dev environment to delete the workgroup automatically on destroy. Rename the stack flag so that it better fits the purpose.

Tasks:

  • rename the current stack flag to force_delete_flag
  • use this flag to enable the recursive_delete_option for the workgroup for the dev stack (& disabled for the prod stack)
  • use this flag to delete the dbt artifact repo

Resources: CfnWorkGroup

@jankatins jankatins added the good first issue Good for newcomers label Nov 4, 2022
@jankatins
Copy link
Collaborator

See also #13 which wants a generic solution

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants