aws-samples / aws-iot-twinmaker-samples

Apache License 2.0
97 stars 77 forks source link

iottwinmaker project access problem #65

Closed LouXijian closed 2 years ago

LouXijian commented 2 years ago

After inputting "aws iottwinmaker list-workspaces --region us-east-1" as shown in the prerequisites section, the console says:

An error occurred (AccessDeniedException) when calling the ListWorkspaces operation: User: arn:aws:iam::453344025470:user/xijianlou is not authorized to perform: iottwinmaker:ListWorkspaces on resource: * because no identity-based policy allows the iottwinmaker:ListWorkspaces action:

johnnyw-aws commented 2 years ago

Hi @LouXijian, sorry for the delay in getting back to you. The error suggests that the IAM policies attached to your user don't include the IoT TwinMaker ListWorkspaces action. Can you please double-check the IAM user's permissions?

johnnyw-aws commented 2 years ago

I hope the issue has been resolved after updating permissions. If not, please feel free to re-open this issue. Thanks!