This error message suggests that the AWS ECR user attempting to execute the ecr-public:GetAuthorizationToken action does not have the necessary permissions to perform this action on the specified resource (*).
To resolve this issue, the AWS account administrator or IAM user with sufficient permissions will need to grant the required permissions to the AWS ECR user.
This can be done by creating an IAM policy that includes the necessary permissions and attaching it to the user's IAM role. The policy should include permissions for the ecr-public:GetAuthorizationToken action on the specific resource(s) that the user needs access to.
Alternatively, the administrator can modify an existing policy that the user is already attached to and add the missing permissions.
Once the user has been granted the appropriate permissions, they should be able to successfully execute the ecr-public:GetAuthorizationToken action.
Asked: 2023-06-25 09:51:00 +0000
Seen: 8 times
Last updated: Jun 25 '23