Files
coder/cli/testdata/coder_templates_create_--help.golden
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

74 lines
2.9 KiB
Plaintext
Raw Normal View History

2023-09-08 13:21:33 -05:00
coder v0.0.0-devel
2023-03-23 17:42:20 -05:00
USAGE:
2023-09-08 13:21:33 -05:00
coder templates create [flags] [name]
DEPRECATED: Create a template from the current directory or as specified by
flag
2023-09-08 13:21:33 -05:00
OPTIONS:
-O, --org string, $CODER_ORGANIZATION
Select which organization (uuid or name) to use.
--default-ttl duration (default: 24h)
2023-08-25 13:39:12 -04:00
Specify a default TTL for workspaces created from this template. It is
the default time before shutdown - workspaces created from this
template default to this value. Maps to "Default autostop" in the UI.
-d, --directory string (default: .)
2023-03-23 17:42:20 -05:00
Specify the directory to create from, use '-' to read tar from stdin.
--dormancy-auto-deletion duration (default: 0h)
Specify a duration workspaces may be in the dormant state prior to
being deleted. This licensed feature's default is 0h (off). Maps to
"Dormancy Auto-Deletion" in the UI.
--dormancy-threshold duration (default: 0h)
Specify a duration workspaces may be inactive prior to being moved to
the dormant state. This licensed feature's default is 0h (off). Maps
to "Dormancy threshold" in the UI.
--failure-ttl duration (default: 0h)
2023-08-25 13:39:12 -04:00
Specify a failure TTL for workspaces created from this template. It is
the amount of time after a failed "start" build before coder
automatically schedules a "stop" build to cleanup.This licensed
feature's default is 0h (off). Maps to "Failure cleanup"in the UI.
--ignore-lockfile bool (default: false)
Ignore warnings about not having a .terraform.lock.hcl file present in
the template.
-m, --message string
Specify a message describing the changes in this version of the
template. Messages longer than 72 characters will be displayed as
truncated.
--private bool
Disable the default behavior of granting template access to the
'everyone' group. The template permissions must be updated to allow
non-admin users to use this template.
--provisioner-tag string-array
2023-03-23 17:42:20 -05:00
Specify a set of tags to target provisioner daemons.
--require-active-version bool (default: false)
Requires workspace builds to use the active template version. This
setting does not apply to template admins. This is an enterprise-only
feature. See
https://coder.com/docs/admin/templates/managing-templates#require-automatic-updates-enterprise
for more details.
--var string-array
Alias of --variable.
--variable string-array
2023-03-23 17:42:20 -05:00
Specify a set of values for Terraform-managed variables.
--variables-file string
2023-03-23 17:42:20 -05:00
Specify a file path with values for Terraform-managed variables.
-y, --yes bool
2023-03-23 17:42:20 -05:00
Bypass prompts.
2023-09-08 13:21:33 -05:00
———
2023-03-23 17:42:20 -05:00
Run `coder --help` for a list of global options.