AWS ECR GetAuthorizationToken December 2, 2022 by Tarik You must attach a policy to your IAM role. I attached AmazonEC2ContainerRegistryFullAccess and it worked.