chore: add note about options use in numeric parameters (#12770)

This commit is contained in:
Danny Kopping 2024-03-27 13:46:41 +02:00 committed by GitHub
parent 0da29d74ac
commit 6cb1fc8956
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 0 deletions

View File

@ -266,6 +266,11 @@ data "coder_parameter" "instances" {
}
```
**NOTE:** as of
[`terraform-provider-coder` v0.19.0](https://registry.terraform.io/providers/coder/coder/0.19.0/docs),
`options` can be specified in `number` parameters; this also works with
validations such as `monotonic`.
### String
You can validate a `string` parameter to match a regular expression. The `regex`