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

feat: support custom error message for number-typed coder parameters #12192

Closed
Assignees
mtojek
@mtojek

Description

@mtojek

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:

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp