AWS ECR GetAuthorizationToken
<p>I've tried to follow AWS instructions on setting ECR authorization to my user by giving the <code>AmazonEC2ContainerRegistryFullAccess</code> policy to my user.</p>

<p>However when I try to run on my PC the <code>aws ecr get-login</code> I get an error that I don't have permission.</p>

<pre><code>An error occurred (AccessDeniedException) when calling the GetAuthorizationToken operation: User: arn:aws:iam::ACCOUNT_NUMBER:user/MY_USER is not authorized to perform: ecr:GetAuthorizationToken on resource: *
</code></pre>

<p>What have I done wrong ?</p>