2개 답변
- 최신
- 최다 투표
- 가장 많은 댓글
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
답변함 2년 전
0
Thanks, Ed! You suggestion works well. I am surprised even AmazonWorkSpacesAdmin permission policy does not include the register action. Appreciate your quick reply!
답변함 2년 전
관련 콘텐츠
- AWS 공식업데이트됨 일 년 전
- AWS 공식업데이트됨 2년 전
- AWS 공식업데이트됨 2년 전
- AWS 공식업데이트됨 일 년 전