packer-cn/cmd
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
..
doc-required-scraper generate the comments for config struct of builders scraping doc website 2019-06-05 16:42:17 +02:00
mapstructure-to-hcl2 HCL2: when we see a map generate an attribute spec instead of a block spec (#9035) 2020-04-14 16:05:13 +02:00
struct-markdown fix generation script, bugfixes in source comments, update website paths in primary codebase 2020-04-07 17:53:22 -04:00