Files
coder/cli/testdata/coder_templates_create_--help.golden
T
Steven Masley 3619a3a6dd feat: add disabling of default 'everyone' group access to template (#7982)
* feat: add disabling of default 'everyone' group access to template
* add FE to disable everyone group
* require entitlement to uncheck box
2023-06-14 11:08:58 -05:00

1.3 KiB

Usage: coder templates create [flags] [name]
 
Create a template from the current directory or as specified by flag
 
Options
--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).
 
--inactivity-ttl duration (default: 0h)
Specify an inactivity TTL for workspaces created from this template.
This licensed feature's default is 0h (off).
 
--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.
 
--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.