1 Answer
- Newest
- Most votes
- Most comments
1
Hi
- Verify IAM user policy to the profile that you are using
- Attach a policy to the IAM profile user using
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": "ecr:CreateRepository",
"Resource": "*"
}
]
}
Replace "*" with a specific Amazon Resource Name (ARN) if you want to restrict repository creation to a particular region.
- After creating or modifying the policy, attach it to your IAM user or the role associated with your my-profile.
The IAM policy AmazonElasticContainerRegistryPublicFullAccess does not grant the permission to create repositories in Amazon ECR. It
Relevant content
- asked 3 years ago
- asked 2 years ago
- asked 4 years ago
- AWS OFFICIALUpdated 2 years ago
