Variables in waypoint.hcl
Warning
This content is part of the legacy version of Waypoint that is no longer actively maintained. For additional information on the new vision of Waypoint, check out this blog post and the HCP Waypoint documentation.
The waypoint.hcl
file uses HCL which
is able to reference predefined variables. This section will document the
list of available variables within the waypoint.hcl
. Variable documentation
pages use placement tables
to document where variables are valid.
Using Variables
Variable usage is similar to many mainstream programming languages such
as Javascript, Ruby, or Python. Variables can be used directly, such as
in the example below where path.app
is assigned to dockerfile
.
Variables can also be interpolated in strings to concatenate multiple values together:
Custom Variables
Waypoint supports custom input variables, predefined
variables, and the dynamic variables introduced by plugins, such as
artifact
.