source — Evaluate Hecl script in a file.
source filename
source
filename
The source command evaluates the Hecl script located in file filename.
# Variable foo is defined as "Hello world" in foo.hcl source foo.hcl puts $foo
Produces:
Hello world