Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
add prebuilt to parameters
  • Loading branch information
EdwardAngert committed Apr 1, 2025
commit a27a59a69a1daacdeb75a4a507288a9b7099877e
18 changes: 18 additions & 0 deletions docs/admin/templates/extending-templates/parameters.md
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,24 @@ data "coder_parameter" "jetbrains_ide" {

</details>

## Prebuilt workspaces

Prebuilt workspaces expand on presets and allow you to provision a ready-to-deploy workspace with a defined set of parameters.

You can use prebuilt workspaces to ensure that workspaces can be deployed within one minute.
Use the `prebuilds` parameter to define how many instances of the template should be stored as a prebuilt workspace.

When a developer selects the associated template, the workspace will be assigned to that developer and the server will build a new prebuilt workspace.

For example:

```hcl
...(more example here)
prebuilds {
instances = 1
}
```

## Create Autofill

When the template doesn't specify default values, Coder may still autofill
Expand Down
Loading