HashiCorp Cloud Platform
Template and add-on variables reference
This topic provides reference information about the variables you can use in HCP Waypoint when creating templates and add-ons. Variables let you create template text that appears in the registry. Refer to the following topics for information about using the variables:
You can reference these variables with the {{VARIABLE}} syntax.
Templates
HCP Waypoint makes the following variables available to you when you create a template.
| Name | Value | 
|---|---|
| .ApplicationName | The name of the deployed application. | 
| .TfcOrgName | The name of the HCP Terraform organization the template belongs to. | 
Example:
This {{.ApplicationName}} is deployed to the {{.TfcOrgName}} HCP Terraform organization.
Add-ons
HCP Waypoint makes the following variables available to you when you create an add-on.
| Name | Value | 
|---|---|
| .ApplicationName | The name of the deployed application. | 
| .AddOnName | The name of the deployed add-on. | 
Example:
The {{.AddOnName}} add-on belongs to the {{.ApplicationName}}.