Files
coder/docs/reference/cli/templates/push.md
T
Nick Vigilante 2ee96f82f9 docs: give every table header cell text and fail lint on empty ones
Screen readers announce a table header cell with no text as an unnamed
column, and axe reports it as empty-table-header.

- clidocgen writes "Property | Value" over each option's metadata table
  instead of an empty header row; the CLI reference is regenerated.
- The port-forwarding CORS matrix labels its corner cells (From user,
  From workspace, To user, To workspace, To app).
- Four Markdown matrices get a corner label, byte-identical to #30873.
- docshtmlcheck (make lint/docs-html) now fails on empty header cells in
  Markdown pipe tables and raw HTML tables, naming the file, line, and
  the table's first header.

Assisted-by: AI
2026-10-15 16:48:16 -04:00

3.5 KiB
Generated

title, description
title description
`coder templates push` Create or update a template from the current directory or as specified by flag

Create or update a template from the current directory or as specified by flag

Usage

coder templates push [flags] [template]

Options

--variables-file

Property Value
Type string

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

--variable

Property Value
Type string-array

Specify a set of values for Terraform-managed variables.

--var

Property Value
Type string-array

Alias of --variable.

--provisioner-tag

Property Value
Type string-array

Specify a set of tags to target provisioner daemons. If you do not specify any tags, the tags from the active template version will be reused, if available. To remove existing tags, use --provisioner-tag="-".

--name

Property Value
Type string

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

--always-prompt

Property Value
Type bool

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

--activate

Property Value
Type bool
Default true

Whether the new template will be marked active.

--display-name

Property Value
Type string

Specify a display name for the template. Takes precedence over display_name in README.md front matter, if present.

--icon

Property Value
Type string

Specify an icon path or external URL for the template. Takes precedence over icon in README.md front matter, if present.

-y, --yes

Property Value
Type bool

Bypass confirmation prompts.

-d, --directory

Property Value
Type string
Default .

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

--ignore-lockfile

Property Value
Type bool
Default false

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

-m, --message

Property Value
Type string

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

-O, --org

Property Value
Type string
Environment $CODER_ORGANIZATION

Select which organization (uuid or name) to use.