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?

已提问 4 年前7092 查看次数
4 回答
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
已回答 4 年前
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.

已回答 4 年前
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
已回答 4 年前
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
已回答 3 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则