packer-cn/builder/jdcloud
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.go Sharing info with post-processors via artifact (#8632) 2020-01-30 11:27:58 +01:00
builder.go Sharing info with post-processors via artifact (#8632) 2020-01-30 11:27:58 +01:00
common.go commit old code generation tool 2019-10-15 12:56:42 +02:00
common.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
credential_config.go fmt 2019-10-15 12:56:42 +02:00
credential_config_test.go Rewrite all files, remove sensitive information 2019-08-09 15:00:23 +08:00
instance_config.go fmt 2019-10-15 12:56:42 +02:00
instance_config_test.go Rewrite all files, remove sensitive information 2019-08-09 15:00:23 +08:00
step_config_credentials.go build using HCL2 (#8423) 2019-12-17 11:25:56 +01:00
step_create_image.go build using HCL2 (#8423) 2019-12-17 11:25:56 +01:00
step_create_instance.go update jdcloud statebag to use pointers for config, to bring in line with other implementations 2019-12-19 11:17:04 -08:00
step_stop_instance.go build using HCL2 (#8423) 2019-12-17 11:25:56 +01:00
step_validate_parameters.go build using HCL2 (#8423) 2019-12-17 11:25:56 +01:00