Files
coder/docs/cli/templates_push.md
T
goodspark e2613c91a7 feat(cli): support non-active template version pushes (#7488)
So that we can push template updates for testing without impacting
normal users of the template.

---------

Co-authored-by: Ammar Bandukwala <ammar@ammar.io>
Co-authored-by: Muhammad Atif Ali <matifali@live.com>
Co-authored-by: Atif Ali <atif@coder.com>
2023-06-03 22:39:00 +00:00

1.7 KiB

templates push

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

Usage

coder templates push [flags] [template]

Options

--activate

Type bool
Default true

Whether the new template will be marked active.

--always-prompt

Type bool

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

-d, --directory

Type string
Default .

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

--name

Type string

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

--provisioner-tag

Type string-array

Specify a set of tags to target provisioner daemons.

--variable

Type string-array

Specify a set of values for Terraform-managed variables.

--variables-file

Type string

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

-y, --yes

Type bool

Bypass prompts.