Skip to content

Commit af25037

Browse files
committed
document prebuild parameters
1 parent 5418ed7 commit af25037

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

provider/workspace.go

+9-9
Original file line numberDiff line numberDiff line change
@@ -91,20 +91,15 @@ func workspaceDataSource() *schema.Resource {
9191
Computed: true,
9292
Description: "The access port of the Coder deployment provisioning this workspace.",
9393
},
94-
"start_count": {
95-
Type: schema.TypeInt,
96-
Computed: true,
97-
Description: "A computed count based on `transition` state. If `start`, count will equal 1.",
98-
},
9994
"prebuild_count": {
10095
Type: schema.TypeInt,
10196
Computed: true,
102-
Description: "TODO",
97+
Description: "A computed count, equal to 1 if the workspace was prebuilt.",
10398
},
104-
"is_prebuild": {
105-
Type: schema.TypeBool,
99+
"start_count": {
100+
Type: schema.TypeInt,
106101
Computed: true,
107-
Description: "TODO",
102+
Description: "A computed count based on `transition` state. If `start`, count will equal 1.",
108103
},
109104
"transition": {
110105
Type: schema.TypeString,
@@ -116,6 +111,11 @@ func workspaceDataSource() *schema.Resource {
116111
Computed: true,
117112
Description: "UUID of the workspace.",
118113
},
114+
"is_prebuild": {
115+
Type: schema.TypeBool,
116+
Computed: true,
117+
Description: "Whether the workspace is a prebuild.",
118+
},
119119
"name": {
120120
Type: schema.TypeString,
121121
Computed: true,

0 commit comments

Comments
 (0)