본문 바로가기
카테고리 없음

An error occurred (AccessDeniedException) when calling the GetAuthorizationToken operation: User: arn:aws:iam::646450232747:user/CLONET is not authorized to perform: ecr:GetAuthorizationToken on resource: * because no identity-based policy allows the ec..

by pavi03 2022. 9. 5.

$ aws ecr get-login-password --region ap-northeast-2

An error occurred (AccessDeniedException) when calling the GetAuthorizationToken operation: User: arn:aws:iam::646450232747:user/CLONET is not authorized to perform: ecr:GetAuthorizationToken on resource: * because no identity-based policy allows the ecr:GetAuthorizationToken action

 

 

AmazonECSTaskExecutionRolePolicy를 추가한다.