Dereferencing a Variable
To dereference or otherwise obtain the value stored in a particular key of an export, enclose the name of the variable between opening and closing braces {}
and prepended with a dollar sign $
.
For example, the variable named KEY
can be dereferenced when specified as ${KEY}
, as illustrated in the following example, which sets the attribute destination to VALUE
.
exports:
- KEY: VALUE
fileList:
- destination: ${KEY}