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?

feita há 4 anos7097 visualizações
4 Respostas
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
respondido há 4 anos
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.

respondido há 4 anos
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
respondido há 4 anos
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
respondido há 3 anos

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas