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
The goal of this issue is to expand validation rules to support custom error message for number-typed coder parameters. So far, an error message have been tightly coupled with string-type param and regex. The idea is to make it also available for numbers.
data "coder_parameter" "instances" {
name = "Instances"
type = "number"
description = "Number of compute instances"
validation {
min = 1
max = 8
monotonic = "increasing"
error = "Number of compute instances must be between {min} and {max}."
}
}
The goal of this issue is to expand validation rules to support custom error message for number-typed coder parameters. So far, an error message have been tightly coupled with string-type param and regex. The idea is to make it also available for numbers.
Battle plan:
The text was updated successfully, but these errors were encountered: