mirror of
https://github.com/coder/coder.git
synced 2026-06-04 05:28:20 +00:00
2a01747804
`--variable` is used frequently enough to deserve a shorthand. Unfortunately, `-v` is taken by verbose, and `-V` is too easily confused with version or verbose, so we're left with "--var".
51 lines
1.7 KiB
Plaintext
51 lines
1.7 KiB
Plaintext
Usage: coder templates create [flags] [name]
|
|
|
|
Create a template from the current directory or as specified by flag
|
|
|
|
[1mOptions[0m
|
|
--default-ttl duration (default: 24h)
|
|
Specify a default TTL for workspaces created from this template.
|
|
|
|
-d, --directory string (default: .)
|
|
Specify the directory to create from, use '-' to read tar from stdin.
|
|
|
|
--failure-ttl duration (default: 0h)
|
|
Specify a failure TTL for workspaces created from this template. This
|
|
licensed feature's default is 0h (off).
|
|
|
|
--ignore-lockfile bool (default: false)
|
|
Ignore warnings about not having a .terraform.lock.hcl file present in
|
|
the template.
|
|
|
|
--inactivity-ttl duration (default: 0h)
|
|
Specify an inactivity TTL for workspaces created from this template.
|
|
This licensed feature's default is 0h (off).
|
|
|
|
-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
|
|
Specify a set of tags to target provisioner daemons.
|
|
|
|
--var string-array
|
|
Alias of --variable.
|
|
|
|
--variable string-array
|
|
Specify a set of values for Terraform-managed variables.
|
|
|
|
--variables-file string
|
|
Specify a file path with values for Terraform-managed variables.
|
|
|
|
-y, --yes bool
|
|
Bypass prompts.
|
|
|
|
---
|
|
Run `coder --help` for a list of global options.
|