aws-samples/aws-cdk-deep-learning-image-vector-embeddings-at-scale-using-aws-batch

User access policy issues

karelin opened this issue · 1 comments

Unfortunately, README does not describe setting up user and access rights to run the example :(

Just creating an IAM user with sufficient policies is not working, in my case after some study and setting the permissions, I've stuck with an error

AccessDeniedException: User: arn:aws:iam::XXXXXXXXXXXX:user/YYYYYYYY is not authorized to perform: ecr:CreateRepository on resource: arn:aws:ecr:eu-central-1:XXXXXXXXXXXX:repository/aws-cdk/assets because no identity-based policy allows the ecr:CreateRepository action

Help/Step-by-step description for non-DevOps people will be greatly appreciated!

I would recommend going trough the Getting started user guide on the AWS documentation website, concretely the topics: Creating an IAM admin user and user group and Creating a delegated user. They both contain a step-by-step explanation which will help you in running the code from the blog-post.