Cannot run task from ECR image

0

I'm trying to run a task with an image from an ECR container in the same account.

When I try to run the task, it fails, with the following message:

"ResourceInitializationError: unable to pull secrets or registry auth: execution resource retrieval failed: unable to retrieve ecr registry auth: service call has been retried 1 time(s): AccessDeniedException: User: arn:aws:sts::XXXXXXXXX:assumed-rol..."

I've tried following this help page: https://aws.amazon.com/premiumsupport/knowledge-center/ecs-unable-to-pull-secrets/ But most of the situations don't apply to me.

Also, you will see that the error message is truncated. Do you know how to get the full error message?

1 個回答
0

You can use the ECS Logs Collector. Additionally, the log file locations are here.

AWS
已回答 2 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南