Hello World

Be Happy!

An error occurred when calling the GetAuthorizationToken


% aws ecr get-login-password --region us-west-1 | docker login --username AWS --password-stdin xxxxxxxx.dkr.ecr.us-west-1.amazonaws.com
An error occurred (AccessDeniedException) when calling the GetAuthorizationToken operation: User: arn:aws:iam::xxxxxxxx:user/myid is not authorized to perform: ecr:GetAuthorizationToken on resource: *
Error: Cannot perform an interactive login from a non TTY device

Solution
Identity and Access Management (IAM) -> Add Permission -> Grant permissions -> Attach existing policies directly -> Add AmazonEC2ContainerRegistryFullAccess

% aws ecr get-login-password --region us-west-1 | docker login --username AWS --password-stdin xxxxxxxx.dkr.ecr.us-west-1.amazonaws.com
Login Succeeded
#aws (16) #kops (6) #docker (30) #ecs (2) #private-registry (2) #k9s (2)
List