Skip to content

Commit

Permalink
Fix custom security attribute check
Browse files Browse the repository at this point in the history
  • Loading branch information
Tensho committed Dec 7, 2020
1 parent 20304a1 commit ce1c1bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions aws/resource_aws_workspaces_directory_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -323,8 +323,8 @@ func TestAccAwsWorkspacesDirectory_workspaceCreationProperties_customSecurityGro
Check: resource.ComposeAggregateTestCheckFunc(
testAccCheckAwsWorkspacesDirectoryExists(resourceName, &v),
resource.TestCheckResourceAttr(resourceName, "workspace_creation_properties.#", "1"),
resource.TestCheckResourceAttrPair(resourceName, "workspace_creation_properties.0.custom_security_group_id", resourceSecurityGroup, "id"),
resource.TestCheckResourceAttr(resourceName, "workspace_creation_properties.0.default_ou", "OU=AWS,DC=Workgroup,DC=Example,DC=com"),
resource.TestCheckResourceAttrSet(resourceName, "workspace_creation_properties.0.custom_security_group_id"),
resource.TestCheckResourceAttrSet(resourceName, "workspace_creation_properties.0.default_ou"),
),
ExpectNonEmptyPlan: true,
},
Expand Down

0 comments on commit ce1c1bc

Please sign in to comment.