- Notifications
You must be signed in to change notification settings - Fork24
Open
Description
Version: 2.13.1
Problem
When using Coder, if acoder_parameter has the type number and no default value is set, the build fails with the error"" is not a number.
I believe this behavior is not ideal. Ideally, the web interface should allow the parameter to be left empty and require the user to provide a value during the build, rather than requiring a default value to avoid the error.
Example
data"coder_parameter""ssh_port" {name="ssh_port"display_name="SSH Port"type="number"mutable=truevalidation {min=1024max=65535 }}
Solution
Allow number types to be used without a default value, requiring users to provide a value when creating a workspace.
Metadata
Metadata
Assignees
Labels
No labels