Skip to content
This repository has been archived by the owner on Oct 15, 2024. It is now read-only.

Remove Termination Protection for ELB before deleting #258

Closed
root360-AndreasUlm opened this issue Sep 3, 2018 · 4 comments
Closed

Remove Termination Protection for ELB before deleting #258

root360-AndreasUlm opened this issue Sep 3, 2018 · 4 comments
Labels
kind/resource Adding or changing AWS resources. status/help-wanted

Comments

@root360-AndreasUlm
Copy link

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 svenwltr added the kind/resource Adding or changing AWS resources. label Sep 4, 2018
@svenwltr
Copy link
Member

svenwltr commented Sep 4, 2018

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
Copy link

phivid commented Mar 26, 2022

Hello any update on this issue ?

@DawnElixir
Copy link

May I know if we can have this feature?

@ekristen
Copy link
Contributor

ekristen commented Oct 1, 2024

tracked via ekristen/aws-nuke#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.

@ekristen ekristen closed this as completed Oct 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind/resource Adding or changing AWS resources. status/help-wanted
Projects
None yet
Development

No branches or pull requests

5 participants