feat: allow number options with monotonic validation (#12726)

NOTE: terraform-provider-coder was updated to facilitate this change, and your template will require v0.19.0 for this feature to work. You can run terraform init -upgrade in your template directory. If you have a version constraint set, ensure it points to this version.
This commit is contained in:
Danny Kopping
2024-03-27 08:54:42 +00:00
committed by GitHub
parent 0d9010e150
commit a74ef4096e
5 changed files with 61 additions and 6 deletions
+1 -1
View File
@@ -233,7 +233,7 @@ monotonic numbers, and regular expressions.
You can limit a `number` parameter to `min` and `max` boundaries.
You can also specify its monotonicity as `increasing` or `decreasing` to verify
the current and new values. Use the `monotonic` aatribute for resources that
the current and new values. Use the `monotonic` attribute for resources that
can't be shrunk or grown without implications, like disk volume size.
```hcl