Skip to content

feat: add template validation in CLI to check for lower case data.coder_workspace.me.name in Docker workspaces #3401

@sharkymark

Description

@sharkymark

As a developer, I must already have noticed in one of Coder's example templates that lower(data.coder_workspace.me.name) is required when using Docker compute or there will be problems in the workspace. This is a known Docker thing with mix-cased containers.

A user in the Discord channel has the recommendation to make this a validation check in coder templates create versus having the lower() in the template.

I filed a related issue on the templates not updating correctly. #3400

Metadata

Metadata

Assignees

No one assigned

    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