Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

parameter validation errors should happen in the wizard instead of the workspace build #333

Open
@matifali

Description

@matifali

Given a parameter with a choice, when creating a Workspace, if the user deletes the default value in the field, in this example from"0" to""

data"coder_parameter""home_data_disk_size" {type="number"name="Additional Home Data Volume Size"mutable=truedefault=0validation {min=0max=2048monotonic="increasing"  }}

You get this error when the Terraform runs:

Error: value "" is not a numberon .terraform/modules/platform_eng/data.tf line 487, in data "coder_parameter" "home_data_disk_size":  487: data "coder_parameter" "home_data_disk_size" {

I believe this should be validated when in the wizard instead. Either that or provide something like a boolean attribute in thecoder_parameter schema for an option like non_empty

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp