aws-nuke
aws-nuke copied to clipboard
Remove Termination Protection for ELB before deleting
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
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.
Hello any update on this issue ?
May I know if we can have this feature?