Files
coder/docs/cli/templates_create.md
2023-03-23 17:42:20 -05:00

1.5 KiB

templates create

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

Usage

coder templates create [flags] [name]

Options

--default-ttl

Type duration
Default 24h

Specify a default TTL for workspaces created from this template.

-d, --directory

Type string
Default .

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

--parameter-file

Type string

Specify a file path with parameter values.

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