AWS ECR Tag Based Access Control

bd flag
$ docker pull {ACCOUNT-ID}.dkr.ecr.{region}{repository-name}:ecr
Error response from daemon: pull access denied for {ACCOUNT-ID}{repository-name}, repository does not exist or may require 'docker login': denied: User: arn:aws:iam::{ACCOUNT-ID}:user/pull-user is not authorized to perform: ecr:BatchGetImage on resource: arn:aws:ecr:{region}:{ACCOUNT-ID}:repository/{repository-name}because no identity-based policy allows the ecr:BatchGetImage action

When I Remove Tag then it pulls the tag what ever tag I want to pull I am making A tag based access control for pull only

    "Version": "2012-10-17",
    "Statement": [
            "Effect": "Allow",
            "Action": [
            "Resource": [
I sit in a Tesla and translated this thread with Ai:


Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.