open-nomad/jobspec2
Mahmood Ali 73af6fd220 Restrict HCL special casing of map[string]interface{} fields
The HCL2 parser needs to apply special parsing tweaks so it can parse
the task config the same way as HCL1. Particularly, it needs to
reinterprets `map[string]interface{}` fields and blocks that appear when
attributes are expected.

This commit restricts the special casing to the Job fields, and ignore
`variables` and `locals` block.
2020-11-12 11:35:39 -05:00
..
addrs copy variables files from Packer 2020-11-09 14:35:02 -05:00
hclutil hclv2: handle block labels 2020-10-26 16:24:43 -04:00
test-fixtures
functions.go
hcl_conversions.go Restructure Variables and Locals 2020-11-09 14:58:57 -05:00
parse.go Restrict HCL special casing of map[string]interface{} fields 2020-11-12 11:35:39 -05:00
parse_job.go Restrict HCL special casing of map[string]interface{} fields 2020-11-12 11:35:39 -05:00
parse_map.go Restrict HCL special casing of map[string]interface{} fields 2020-11-12 11:35:39 -05:00
parse_test.go Restrict HCL special casing of map[string]interface{} fields 2020-11-12 11:35:39 -05:00
types.config.go Restrict HCL special casing of map[string]interface{} fields 2020-11-12 11:35:39 -05:00
types.variables.go copy variables files from Packer 2020-11-09 14:35:02 -05:00