hcp waypoint templates create
Command: hcp waypoint templates create
The hcp waypoint templates create
command lets you create HCP Waypoint
templates.
Usage
$ hcp waypoint templates create --name=NAME --summary=SUMMARY
--tfc-no-code-module-source=TFC_NO_CODE_MODULE_SOURCE
--tfc-project-id=TFC_PROJECT_ID --tfc-project-name=TFC_PROJECT_NAME [Optional
Flags]
Examples
Create a new HCP Waypoint template:
$ hcp waypoint templates create -n=my-template \
-s="My Template Summary" \
-d="My Template Description" \
--readme-markdown-template-file "README.tpl" \
--tfc-no-code-module-source="app.terraform.io/hashicorp/dir/template" \
--tfc-project-name="my-tfc-project" \
--tfc-project-id="prj-123456" \
-l="label1" \
-l="label2"
Required flags
-n, --name=NAME
- The name of the template.-s, --summary=SUMMARY
- The summary of the template.--tfc-no-code-module-source=TFC_NO_CODE_MODULE_SOURCE
- The source of the Terraform no-code module. The expected format is "NAMESPACE/NAME/PROVIDER". An optional "HOSTNAME/" can be added at the beginning for a private registry.--tfc-project-id=TFC_PROJECT_ID
- The ID of the Terraform Cloud project where applications using this template will be created.--tfc-project-name=TFC_PROJECT_NAME
- The name of the Terraform Cloud project where applications using this template will be created.
Optional flags
-d, --description=DESCRIPTION
- The description of the template.-l, --label=LABEL [Repeatable]
- A label to apply to the template.--readme-markdown-template-file=README_MARKDOWN_TEMPLATE_FILE_PATH
- The file containing the README markdown template.--variable-options-file=VARIABLE_OPTIONS_FILE
- The file containing the HCL definition of Variable Options.