Unable to delete Target Group.

0

Error: Target group 'arn:aws:elasticloadbalancing:xxxxxxx' is currently in use by a listener or a rule.

But there is no LB associated with that target group. I have removed all load balancers, still not able to remove several target groups. Is it possible to force delete a target group?

demandé il y a 4 ans7033 vues
5 réponses
0

Hi, Any update on this? I am experiencing the same.
There is no listener rule in place for the target group in question. But when I try deleting it, getting exception target group is currently in use by a listener rule.

Thanks in advance.

Priann
répondu il y a 4 ans
0

create Load balancer and add the TG again on it. then goto Listner section inside LB and select that TG to delete. then you can surely deleted the TG.

répondu il y a 4 ans
0

Please follow the steps mentioned in below link
https://docs.aws.amazon.com/elasticloadbalancing/latest/application/delete-listener.html

In short: -

  1. Create the load balancer again
  2. Choose Listener tab and delete the all listener
  3. Now try to delete the target group
    4 finally delete the load balancer too
répondu il y a 4 ans
0

a little late but i deleted LB and then proceeded for TG. Voila!

répondu il y a 3 ans
0

In my case, it seemed to me that there was no connection between any LoadBalancer and specific TargetGroup.
But within the LoadBalancer > Listeners > View/edit rules I had an Condition referring to specific TargetGroup.
I deleted the condition and oops, works!

Edited by: Eliezer on Jul 7, 2021 1:56 AM

Eliezer
répondu il y a 3 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions