mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
chore(cli): warn on template push or create when no lockfile present (#8059)
This commit is contained in:
@@ -13,6 +13,10 @@ Create a template from the current directory or as specified by flag
|
||||
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).
|
||||
|
||||
@@ -13,6 +13,10 @@ Push a new template version from the current directory or as specified by flag
|
||||
-d, --directory string (default: .)
|
||||
Specify the directory to create from, use '-' to read tar from stdin.
|
||||
|
||||
--ignore-lockfile bool (default: false)
|
||||
Ignore warnings about not having a .terraform.lock.hcl file present in
|
||||
the template.
|
||||
|
||||
--name string
|
||||
Specify a name for the new template version. It will be automatically
|
||||
generated if not provided.
|
||||
|
||||
Reference in New Issue
Block a user