packer-cn/builder/null
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
..
artifact_export.go Render variables one time on prepare method (#8727) 2020-02-13 17:35:23 +01:00
artifact_export_test.go run goimports 2018-01-22 17:21:10 -08:00
builder.go Render variables one time on prepare method (#8727) 2020-02-13 17:35:23 +01:00
builder_test.go run goimports 2018-01-22 17:21:10 -08:00
config.go fix config decode 2020-01-15 14:27:55 -08: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
ssh.go Remove remaining unused ssh config funcs and add missing calls (#6622) 2018-08-24 16:00:40 +02:00