-
-
Notifications
You must be signed in to change notification settings - Fork 356
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
Fails to delete resources when deletion protection is enabled. #806
Comments
This is an interesting suggestion. Typically, users would rely on cloud-nuke to clean up resources left over from testing or those no longer needed, regardless of their settings. Therefore, it makes sense to delete such resources with a retry mechanism, even if deletion protection is enabled. |
Exactly, I have the same feeling. However, since this would be a change in behaviour, we could add an extra option to preserve the current behaviour. Let me create an initial PoC pull request with the changes, and we can discuss it in more detail. |
SGTM. Thanks! |
Friendly ping on this @wakeful |
hey @james03160927, I'm still working on this. I should have an initial version ready next week. Sorry, December is always... |
No worries. Thanks for the update @wakeful ! :) |
Hey,
Currently,
cloud-nuke
fails if a resource it is trying to delete has "deletion protection" enabled. This feature is available across various resources such asDynamoDB
,RDS
,load balancers
, and others.What’s your opinion on extending the logic to allow
cloud-nuke
to disable "deletion protection" and retry the deletion? Or do you think this flag should be removed outside of the nuke process?The text was updated successfully, but these errors were encountered: