HCL is a configuration language defined by HashiCorp.
You can use it very simple like JSON or YAML but also you can improve it and use it like the way terraform using it
(for example terraform supports expressions in HCL).
This example use a very easy HCL file that has usage for variable referecing, etc.