- Notifications
You must be signed in to change notification settings - Fork928
Closed
Description
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}." }}
Battle plan:
- feat: relax error message for number-typed coder parameters terraform-provider-coder#195 terraform-provider-coder: relax validation error and make it available for numbers too
- feat: support custom validation errors for number-typed parameters #12224
- coderd: pull new provider library, and adjust implementation to support errors
- cli: support custom validation error for number-typed parameters
- site: support custom validation error for number-typed parameters
Metadata
Metadata
Assignees
Labels
No labels