chore(cli): warn on template push or create when no lockfile present (#8059)

This commit is contained in:
Colin Adler
2023-06-20 15:02:44 +00:00
committed by GitHub
parent a47a9b1cfe
commit adf14f1917
11 changed files with 272 additions and 8 deletions
+4
View File
@@ -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).
+4
View File
@@ -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.