Skip to content

Commit

Permalink
Fix workspaces default role
Browse files Browse the repository at this point in the history
  • Loading branch information
Tensho committed May 6, 2020
1 parent 0762d2b commit 264edcc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions aws/resource_aws_workspaces_workspace_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -317,14 +317,14 @@ resource "aws_iam_role" "workspaces-default" {
assume_role_policy = data.aws_iam_policy_document.workspaces.json
}
resource "aws_iam_role_policy_attachment" "workspaces-default-skylight-service-access" {
resource "aws_iam_role_policy_attachment" "workspaces-default-service-access" {
role = aws_iam_role.workspaces-default.name
policy_arn = "arn:aws:iam::aws:policy/SkyLightServiceAccess"
policy_arn = "arn:aws:iam::aws:policy/AmazonWorkSpacesServiceAccess"
}
resource "aws_iam_role_policy_attachment" "workspaces-default-skylight-self-service-access" {
resource "aws_iam_role_policy_attachment" "workspaces-default-self-service-access" {
role = aws_iam_role.workspaces-default.name
policy_arn = "arn:aws:iam::aws:policy/SkyLightSelfServiceAccess"
policy_arn = "arn:aws:iam::aws:policy/AmazonWorkSpacesSelfServiceAccess"
}
data "aws_workspaces_bundle" "test" {
Expand Down

0 comments on commit 264edcc

Please sign in to comment.