Skip to content

Commit

Permalink
Hack to overcome data source with depends_on refresh
Browse files Browse the repository at this point in the history
  • Loading branch information
Tensho committed Nov 4, 2020
1 parent 3ca3e38 commit a9b4924
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions aws/data_source_aws_workspaces_workspace_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ func TestAccDataSourceAwsWorkspacesWorkspace_byDirectoryID_userName(t *testing.T
resource.TestCheckResourceAttrPair(dataSourceName, "workspace_properties.0.user_volume_size_gib", resourceName, "workspace_properties.0.user_volume_size_gib"),
resource.TestCheckResourceAttrPair(dataSourceName, "tags.%", resourceName, "tags.%"),
),
ExpectNonEmptyPlan: true, // Hack to overcome data source with depends_on refresh
},
},
})
Expand Down

0 comments on commit a9b4924

Please sign in to comment.