packer/template
Adrien Delorme 840e67f775
HCL2: when we see a map generate an attribute spec instead of a block spec (#9035)
* mapstructure-to-hcl2: when we see a map generate an attribute spec and not a block spec

this will alow to do

tags = {
 key = "value"
}

instead of

tags {
  key = "value"
}

This will also enable using variables directly for those tags

* generate code

* update tests
2020-04-14 16:05:13 +02:00
..
interpolate packer.io prefix removal, html extension remove for in-code errors 2020-04-07 17:53:22 -04:00
test-fixtures Add tests for check of json duplicate fields 2020-02-12 14:34:20 +01:00
parse.go Add check for json duplicate fields 2020-02-12 11:56:18 +01:00
parse_test.go Fix format 2020-02-12 14:44:28 +01:00
template.go commit old code generation tool 2019-10-15 12:56:42 +02:00
template.hcl2spec.go HCL2: when we see a map generate an attribute spec instead of a block spec (#9035) 2020-04-14 16:05:13 +02:00
template_test.go allow to set provisioner timeout from buildfile 2019-04-08 20:09:21 +02:00