Hi Team,
I am getting Failed to get ECS Tasks: List Tasks failed: operation error ECS: ListTasks, https response error StatusCode: 403 after updating consul from 1.21.4 to 1.21.5 version
Note : we are running the Consul on AWS Fargate ECS cluster.
Full error
2025-12-04T10:52:49.442Z [ERROR] agent: Cannot discover address: cluster=LAN address="provider=aws region=Region_here tag_key=consul_id tag_value=tag_here service=ecs ecs_cluster=Cluster_name" error="discover-aws: Failed to get ECS Tasks: ListTasks failed: operation error ECS: ListTasks, https response error StatusCode: 403, RequestID: , deserialization failed, failed to decode response body, invalid character '<' looking for beginning of value" |
|
|---|---|
We already have the Listcluster, ListTask and describeTask action in our ECS task policy.
Is there anything changed in ecs:listTask command to get the task?
I have to update the version from 1.21.4 to any newer version as this is throwing so many go related vulnerabilities. I have tried 1.21.5 , 1.22.0 and 1.22.1 all three version and it is failing for all of them with same error.
Please provide any suggestion.