我创建了一个应用程序负载平衡器,并将其设置为公共。我对某些事情进行了分叉,并希望将其转换为内部负载平衡器,以便仅向VPC资源公开。但是当我将可见性选项从“ public”更改为“ internal”时,出现此错误-
Updating Load Balancer listener named:
arn:aws:elasticloadbalancing:ap-south-1:xxxxxxxxx:listener/app/awseb-AWSEB-xxxxxxxxxxxxxx/xxxxxxxxxxxxxx/xxxxxxxxxxxxxx failed Reason:
The following target groups cannot be associated with more than one load balancer:
arn:aws:elasticloadbalancing:ap-south-1:xxxxxxxxxxxxxx:targetgroup/awseb-AWSEB-xxxxxxxxxxxxxx/xxxxxxxxxxxxxx
(Service: AmazonElasticLoadBalancingV2; Status Code: 400; Error Code: TargetGroupAssociationLimit)
我最近有这个问题。要解决此问题,我必须禁用规则侦听器。之后,我可以将其设置为从公开到内部。