8000 Missing validation of workspace name · Issue #1639 · coder/coder · GitHub
[go: up one dir, main page]

Skip to content
Missing validation of workspace name #1639
Closed
@presleyp

Description

@presleyp

It appears that Terraform requires workspaces to contain only lowercase letters and numbers - no uppercase letters.

Error: metadata.0.name a lowercase RFC 1123 subdomain must consist of lower case alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character (e.g. 'example.com', regex used for validation is '[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*')

Current behavior: the create workspace page allows me to submit a workspace named PresleysWorkspace. Creation succeeds, but workspaces always fail.

Expected behavior: the create workspace form gives me a validation error and doesn't allow me to submit until I remove uppercase letters.

Metadata

Metadata

Assignees

Labels

apiArea: HTTP APIsiteArea: frontend dashboard

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0