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
Given a parameter with a choice, when creating a Workspace, if the user deletes the default value in the field, in this example from "0" to ""
data"coder_parameter""home_data_disk_size" {
type="number"name="Additional Home Data Volume Size"mutable=truedefault=0validation {
min=0max=2048monotonic="increasing"
}
}
You get this error when the Terraform runs:
Error: value "" is not a numberon .terraform/modules/platform_eng/data.tf line 487, in data "coder_parameter" "home_data_disk_size": 487: data "coder_parameter" "home_data_disk_size" {
I believe this should be validated when in the wizard instead. Either that or provide something like a boolean attribute in the coder_parameter schema for an option like non_empty
The text was updated successfully, but these errors were encountered:
Given a parameter with a choice, when creating a Workspace, if the user deletes the default value in the field, in this example from
"0"
to""
You get this error when the Terraform runs:
I believe this should be validated when in the wizard instead. Either that or provide something like a boolean attribute in the
coder_parameter
schema for an option like non_emptyThe text was updated successfully, but these errors were encountered: