Files
coder/docs/cli/coder_templates_create.md
T

67 lines
1.0 KiB
Markdown
Raw Normal View History

2023-02-22 19:53:21 -06:00
<!-- DO NOT EDIT | GENERATED CONTENT -->
# coder templates create
2023-01-27 15:10:40 -03:00
Create a template from the current directory or as specified by flag
2023-02-22 19:53:21 -06:00
## Usage
```console
2023-01-27 15:10:40 -03:00
coder templates create [name] [flags]
```
2023-02-22 19:53:21 -06:00
## Flags
2023-01-27 15:10:40 -03:00
2023-02-22 19:53:21 -06:00
### --default-ttl
2023-01-27 15:10:40 -03:00
2023-02-22 19:53:21 -06:00
Specify a default TTL for workspaces created from this template.
<br/>
| | |
| --- | --- |
| Default | <code>24h0m0s</code> |
2023-01-27 15:10:40 -03:00
2023-02-22 19:53:21 -06:00
### --directory, -d
2023-01-27 15:10:40 -03:00
2023-02-22 19:53:21 -06:00
Specify the directory to create from, use '-' to read tar from stdin
<br/>
| | |
| --- | --- |
| Default | <code>.</code> |
2023-01-27 15:10:40 -03:00
2023-02-22 19:53:21 -06:00
### --parameter-file
Specify a file path with parameter values.
<br/>
| | |
| --- | --- |
### --provisioner-tag
Specify a set of tags to target provisioner daemons.
<br/>
| | |
| --- | --- |
| Default | <code>[]</code> |
### --variable
Specify a set of values for Terraform-managed variables.
<br/>
| | |
| --- | --- |
| Default | <code>[]</code> |
### --variables-file
Specify a file path with values for Terraform-managed variables.
<br/>
| | |
| --- | --- |
### --yes, -y
Bypass prompts
<br/>
| | |
| --- | --- |
| Default | <code>false</code> |