Forum archive › Amazon Web Services ( AWS )
Archiveaws cli returns \"is not a valid target group ARN\" for load balancer
Problem
User tries to modify Load balancer target groups with the following command
aws elbv2 modify-target-group –target-group-arn arn:aws:elasticloadbalancing:eu-west-1:52********:targetgroup/my-ecs-service/abf0******* –health-check-protocol HTTP –health-check-port 5555
And gets the following error
An error occurred (ValidationError) when calling the ModifyTargetGroup operation: ‘arn:aws:elasticloadbalancing:eu-west-1:52*********:targetgroup/my-ecs-service/abf0*******’ is not a valid target group ARN
Solution
Check your aws cli credentials and makes sure you configured the region where your load balancer installed
We do this for a living.
Kubernetes, DevOps and platform engineering, delivered in days — not another weekend lost to a stack trace.
Start a project →