Files
coder/docs/cli/coder_create.md
2023-02-23 01:53:21 +00:00

1.1 KiB

coder create

Create a workspace

Usage

coder create [name] [flags]

Flags

--parameter-file

Specify a file path with parameter values.

Consumes $CODER_PARAMETER_FILE

--rich-parameter-file

Specify a file path with values for rich parameters defined in the template.

Consumes $CODER_RICH_PARAMETER_FILE

--start-at

Specify the workspace autostart schedule. Check coder schedule start --help for the syntax.

Consumes $CODER_WORKSPACE_START_AT

--stop-after

Specify a duration after which the workspace should shut down (e.g. 8h).

Consumes $CODER_WORKSPACE_STOP_AFTER
Default 8h0m0s

--template, -t

Specify a template name.

Consumes $CODER_TEMPLATE_NAME

--yes, -y

Bypass prompts

Default false