5 Answers
- Newest
- Most votes
- Most comments
0
In the IAM console, find the role GreengrassV2TokenExchangeRole and then add an inline policy with the required permissions.
0
Hi. You added those to your user or the Greengrass device role?
do you mean the permissions I just posted in my answer?
0
just to clarify: I know that I need to add the following permissions to the user on my RPI, but I already granted it ecr:* so all of these should be included.
{
"Version": "2012-10-17",
"Statement": [
{
"Action": [
"ecr:GetAuthorizationToken",
"ecr:BatchGetImage",
"ecr:GetDownloadUrlForLayer"
],
"Resource": [
"*"
],
"Effect": "Allow"
}
]
}
answered 3 years ago
0
okay so apparently I need to add these permissions to my thing group that the IoT Greengrass Core device belongs to. Is that correct? and how do I do this?
answered 3 years ago
0
There are two things that need to do,
- Add permission for the role to do ecr permissions
- Also do the permissions in the ecr repository level access
Check and post here again if still issue
answered 3 years ago
Relevant content
- AWS OFFICIALUpdated 10 months ago

Thank you!
is it also required to add permissions to the resource, in this case the ECR repository storing the image?