packer-cn/builder/file
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
..
test-fixtures Added acceptance test for file builder 2015-06-16 11:31:53 -07:00
artifact.go Added file builder as a cheap, fast way to build something with output for testing post-processors 2015-06-12 17:24:03 -07:00
artifact_test.go move packer to hashicorp 2017-04-04 13:39:01 -07:00
builder.go Merge remote-tracking branch 'origin/master' into sharing_info 2019-12-17 11:57:09 +01:00
builder_test.go move packer to hashicorp 2017-04-04 13:39:01 -07:00
config.go build using HCL2 (#8423) 2019-12-17 11:25:56 +01:00
config.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
config_test.go build using HCL2 (#8423) 2019-12-17 11:25:56 +01:00