Home
/
Command Line
/
templates create

templates create

templates create

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

Usage

coder templates create [flags] [name]

Options

--default-ttl

Typeduration
Default24h

Specify a default TTL for workspaces created from this template.

-d, --directory

Typestring
Default.

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

--failure-ttl

Typeduration
Default0h

Specify a failure TTL for workspaces created from this template. This licensed feature's default is 0h (off).

--inactivity-ttl

Typeduration
Default0h

Specify an inactivity TTL for workspaces created from this template. This licensed feature's default is 0h (off).

--provisioner-tag

Typestring-array

Specify a set of tags to target provisioner daemons.

--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