Skip to content

Commit c8c5101

Browse files
committedApr 3, 2025·
make gen
1 parent 56d1ab7 commit c8c5101

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed
 

‎docs/data-sources/workspace.md

+2
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,9 @@ resource "docker_container" "workspace" {
6969
- `access_port` (Number) The access port of the Coder deployment provisioning this workspace.
7070
- `access_url` (String) The access URL of the Coder deployment provisioning this workspace.
7171
- `id` (String) UUID of the workspace.
72+
- `is_prebuild` (Boolean) Whether the workspace is a prebuild.
7273
- `name` (String) Name of the workspace.
74+
- `prebuild_count` (Number) A computed count, equal to 1 if the workspace was prebuilt.
7375
- `start_count` (Number) A computed count based on `transition` state. If `start`, count will equal 1.
7476
- `template_id` (String) ID of the workspace's template.
7577
- `template_name` (String) Name of the workspace's template.

‎docs/data-sources/workspace_preset.md

+11
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,17 @@ data "coder_workspace_preset" "example" {
3737
- `name` (String) Name of the workspace preset.
3838
- `parameters` (Map of String) Parameters of the workspace preset.
3939

40+
### Optional
41+
42+
- `prebuilds` (Block Set, Max: 1) Prebuilds of the workspace preset. (see [below for nested schema](#nestedblock--prebuilds))
43+
4044
### Read-Only
4145

4246
- `id` (String) ID of the workspace preset.
47+
48+
<a id="nestedblock--prebuilds"></a>
49+
### Nested Schema for `prebuilds`
50+
51+
Required:
52+
53+
- `instances` (Number)

0 commit comments

Comments
 (0)
Please sign in to comment.