Home
/
Command Line
/
templates push

templates push

Push a new template version from the current directory or as specified by flag

Usage

coder templates push [flags] [template]

Options

--activate

Typebool
Defaulttrue

Whether the new template will be marked active.

--always-prompt

Typebool

Always prompt all parameters. Does not pull parameter values from active template version.

--create

Typebool
Defaultfalse

Create the template if it does not exist.

-d, --directory

Typestring
Default.

Specify the directory to create from, use '-' to read tar from stdin.

--ignore-lockfile

Typebool
Defaultfalse

Ignore warnings about not having a .terraform.lock.hcl file present in the template.

-m, --message

Typestring

Specify a message describing the changes in this version of the template. Messages longer than 72 characters will be displayed as truncated.

--name

Typestring

Specify a name for the new template version. It will be automatically generated if not provided.

--provisioner-tag

Typestring-array

Specify a set of tags to target provisioner daemons.

--var

Typestring-array

Alias of --variable.

--variable

Typestring-array

Specify a set of values for Terraform-managed variables.

--variables-file

Typestring

Specify a file path with values for Terraform-managed variables.

-y, --yes

Typebool

Bypass prompts.

See an opportunity to improve our docs? Make an edit.
On this page