Skip to content

coder create does not support specifying template version #14860

Closed
@matifali

Description

@matifali
coder create --help
coder v2.15.0+190cd1c

USAGE:
  coder create [flags] [name]

  Create a workspace

    - Create a workspace for another user (if you have permission):

        $ coder create <username>/<workspace_name>

OPTIONS:
  -O, --org string, $CODER_ORGANIZATION
          Select which organization (uuid or name) to use.

      --automatic-updates string, $CODER_WORKSPACE_AUTOMATIC_UPDATES (default: never)
          Specify automatic updates setting for the workspace (accepts 'always' or 'never').

      --copy-parameters-from string, $CODER_WORKSPACE_COPY_PARAMETERS_FROM
          Specify the source workspace name to copy parameters from.

      --parameter string-array, $CODER_RICH_PARAMETER
          Rich parameter value in the format "name=value".

      --parameter-default string-array, $CODER_RICH_PARAMETER_DEFAULT
          Rich parameter default values in the format "name=value".

      --rich-parameter-file string, $CODER_RICH_PARAMETER_FILE
          Specify a file path with values for rich parameters defined in the template.

      --start-at string, $CODER_WORKSPACE_START_AT
          Specify the workspace autostart schedule. Check coder schedule start --help for the
          syntax.

      --stop-after duration, $CODER_WORKSPACE_STOP_AFTER
          Specify a duration after which the workspace should shut down (e.g. 8h).

  -t, --template string, $CODER_TEMPLATE_NAME
          Specify a template name.

  -y, --yes bool
          Bypass prompts.

Metadata

Metadata

Assignees

Labels

cliArea: CLIs2Broken use cases or features (with a workaround). Only humans may set this.

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions