TransWikia.com

What is the permission for a IAM user to create a ECR repository?

Server Fault Asked by Anthony Kong on January 28, 2021

My IAM user is getting this error

User: arn:aws:iam::123456789:user/admin is not authorized to perform: 
ecr:CreateRepository on resource: *

when I try to create a repository.

enter image description here

I have already grant AmazonEC2ContainerServiceFullAccess to the group this user belongs to. I search for repository in ‘attach policy’ but there is no match. How can I grant the permission to this user?

2 Answers

I got this error some time back, notice that you have given "containerservicefullaccess" and not "ContainerRegistryFullAccess"

Answered by Ranjith on January 28, 2021

ECR has its own IAM policies, so you need to give your user additional permissions for it Here you can find documentation about ECR policies

Answered by Anton Makovetsky on January 28, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP