我试图在 aws-ecs-fargate-1.4.0平台上运行一个私有存储库。
对于私有存储库身份验证,我遵循了 医生,它工作得很好。
在多次更新现有服务之后,无论如何都无法运行任务并报告错误,比如
ResourceInitializationError: unable to pull secrets or registry auth: execution resource retrieval failed: unable to get registry auth from asm: service call has been retried 1 time(s): asm fetching secret from the service for <secretname>: RequestError: ...
我没有更改 ecsTaskExecutionRole,它包含了获取秘密值所需的所有策略。