2 Answers
- Newest
- Most votes
- Most comments
0
I can't find that permission in any of the managed policies (including AmazonWorkSpacesAdmin
) aside from granting AdministratorAccess
, so I'd recommend attaching an inline policy [1] to your IAM user similar to the following:
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"workspaces:RegisterWorkspaceDirectory",
],
"Resource": "*"
}
]
}
You might need to add more permissions (or just workspaces:*
) to this if you get any more errors like this.
Looking at the docs, you'll also need to create the workspaces_DefaultRole if you haven't already.
[1] https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_manage-attach-detach.html
answered 2 years ago
0
Thanks, Ed! You suggestion works well. I am surprised even AmazonWorkSpacesAdmin permission policy does not include the register action. Appreciate your quick reply!
answered 2 years ago
Relevant content
- asked 2 years ago
- asked 4 years ago
- AWS OFFICIALUpdated 2 days ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago