Skip to content

docs: document workspace presets feature #16612

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 11 commits into from
Mar 5, 2025
Prev Previous commit
Next Next commit
fix extra presets that should be params
  • Loading branch information
EdwardAngert committed Feb 25, 2025
commit 6cedd01ee3758503a0d83e1db48524c751025b18
6 changes: 3 additions & 3 deletions docs/admin/templates/extending-templates/parameters.md
Original file line number Diff line number Diff line change
Expand Up @@ -341,21 +341,21 @@ data "coder_parameter" "machine_type" {
default = "n1-standard-2"
}

data "coder_workspace_preset" "attach_gpu" {
data "coder_parameter" "attach_gpu" {
name = "attach_gpu"
display_name = "Attach GPU?"
type = "bool"
default = "false"
}

data "coder_workspace_preset" "gcp_region" {
data "coder_parameter" "gcp_region" {
name = "gcp_region"
display_name = "Machine Type"
type = "string"
default = "n1-standard-2"
}

data "coder_workspace_preset" "jetbrains_ide" {
data "coder_parameter" "jetbrains_ide" {
name = "jetbrains_ide"
display_name = "Machine Type"
type = "string"
Expand Down
Loading