rebuy-de / aws-nuke

Nuke a whole AWS account and delete all its resources.
https://github.com/ekristen/aws-nuke
MIT License
5.76k stars 724 forks source link

Remove Termination Protection for ELB before deleting #258

Closed root360-AndreasUlm closed 1 month ago

root360-AndreasUlm commented 6 years ago

Hi,

we used aws-nuke to cleanup an account and encountered a deletion problem. When an LB has an active termination protection it cannot be removed by nuke: eu-central-1 - ELBv2 - <name> - OperationNotPermitted: Load balancer 'arn:aws:elasticloadbalancing:eu-central-1:<accountid>:loadbalancer/app/<name>/<id>' cannot be deleted because deletion protection is enabled

IMHO nuke should remove the termination protection first and then issue the deletion request.

Is there a reason why nuke does not resolve this dependency?

Regards, Andreas

svenwltr commented 6 years ago

This is more or less, because we only add resources on demand. The reason for this is, that AWS has a lot of resources and a lot of them need special treatment (like ALBs in this example).

We will add this soon.

phivid commented 2 years ago

Hello any update on this issue ?

DawnElixir commented 6 months ago

May I know if we can have this feature?

ekristen commented 1 month ago

tracked via https://github.com/ekristen/aws-nuke/issues/350


Please see the copy of the notice from the README about the deprecation of this project. Sven was kind enough to grant me access to help triage and close issues and pull requests that have already been addressed in the actively maintained fork. Some additional information is located in the welcome issue for more information.

[!CAUTION] This repository for aws-nuke is no longer being actively maintained. We recommend users to switch to the actively maintained fork of this project at ekristen/aws-nuke. We appreciate all the support and contributions we've received throughout the life of this project. We believe that the fork will continue to provide the functionality and support that you have come to expect from aws-nuke. Please note that this deprecation means we will not be addressing issues, accepting pull requests, or making future releases from this repository. Thank you for your understanding and support.