2d6c75a17f
This fixes a regression in #10326, to handle unquoted unknown variables. The HCL job may contain unquoted undefined variable references without ${...} wrapping, e.g. value = meta.node_class. In 1.0.4, this got parsed as value = "${meta.node_class}". This code performs a scan to find the relevant ${ and }, and only tries to find the closest ones with whitespace as the only separator. |
||
---|---|---|
.. | ||
addrs | ||
hclutil | ||
test-fixtures | ||
functions.go | ||
hcl_conversions.go | ||
helper_test.go | ||
parse.go | ||
parse_job.go | ||
parse_map.go | ||
parse_test.go | ||
types.config.go | ||
types.variables.go |