You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -38,6 +48,7 @@ data "coder_workspace_preset" "example" {
38
48
39
49
### Optional
40
50
51
+
-`default` (Boolean) Whether this preset should be selected by default when creating a workspace. Only one preset per template can be marked as default.
41
52
-`parameters` (Map of String) Workspace parameters that will be set by the workspace preset. For simple templates that only need prebuilds, you may define a preset with zero parameters. Because workspace parameters may change between Coder template versions, preset parameters are allowed to define values for parameters that do not exist in the current template version.
42
53
-`prebuilds` (Block Set, Max: 1) Configuration for prebuilt workspaces associated with this preset. Coder will maintain a pool of standby workspaces based on this configuration. When a user creates a workspace using this preset, they are assigned a prebuilt workspace instead of waiting for a new one to build. See prebuilt workspace documentation [here](https://coder.com/docs/admin/templates/extending-templates/prebuilt-workspaces.md) (see [below for nested schema](#nestedblock--prebuilds))
Description: "Whether this preset should be selected by default when creating a workspace. Only one preset per template can be marked as default.",
99
+
Optional: true,
100
+
Default: false,
101
+
},
95
102
"parameters": {
96
103
Type: schema.TypeMap,
97
104
Description: "Workspace parameters that will be set by the workspace preset. For simple templates that only need prebuilds, you may define a preset with zero parameters. Because workspace parameters may change between Coder template versions, preset parameters are allowed to define values for parameters that do not exist in the current template version.",
0 commit comments