2 réponses
- Le plus récent
- Le plus de votes
- La plupart des commentaires
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
répondu il y a 2 ans
0
Thanks, Ed! You suggestion works well. I am surprised even AmazonWorkSpacesAdmin permission policy does not include the register action. Appreciate your quick reply!
répondu il y a 2 ans
Contenus pertinents
- demandé il y a un an
- demandé il y a 9 mois
- demandé il y a 6 mois
- demandé il y a 2 mois
- AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a 3 ans