We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eb43b9f commit 6454be3Copy full SHA for 6454be3
provider/provider_test.go
@@ -33,6 +33,7 @@ func TestProviderEmpty(t *testing.T) {
33
provider "coder" {}
34
data "coder_provisioner" "me" {}
35
data "coder_workspace" "me" {}
36
+ data "coder_workspace_owner" "me" {}
37
data "coder_external_auth" "git" {
38
id = "git"
39
}
provider/workspace_owner.go
@@ -11,11 +11,6 @@ import (
11
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
12
)
13
14
-type Role struct {
15
- Name string `json:"name"`
16
- DisplayName string `json:"display-name"`
17
-}
18
-
19
func workspaceOwnerDataSource() *schema.Resource {
20
return &schema.Resource{
21
Description: "Use this data source to fetch information about the workspace owner.",
0 commit comments