packer-cn/builder/lxd
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
builder_test.go add an extra string array to the Prepare() return values in the builder interfaces; this sets up the ability for builders to give the provisioners custom user-accessible build-time variables. 2019-12-16 21:23:05 -08:00
command.go [lxd] refactor commands to dry things up 2017-09-05 12:44:39 -07:00
communicator.go fixes and closes #8547 2020-01-21 19:49:49 -08:00
communicator_test.go run goimports 2018-01-22 17:21:10 -08:00
config.go were rendering yay 2020-04-07 17:50:47 -04: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
step_lxd_launch.go rename interpolation context from ctx to ictx and contexts to ctx to avoid conflicts 2019-04-03 15:56:15 +02:00
step_provision.go Add golangci-lint to project (#8686) 2020-02-14 11:42:29 -05:00
step_publish.go rename interpolation context from ctx to ictx and contexts to ctx to avoid conflicts 2019-04-03 15:56:15 +02:00