packer-cn/builder/hyperone
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_acc_test.go builder/hyperone: fix & add tests for tags 2019-12-03 14:57:40 +01:00
chroot_communicator.go allow a provisioner to timeout 2019-04-08 20:09:21 +02:00
config.go packer.io prefix removal, html extension remove for in-code errors 2020-04-07 17:53:22 -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_chroot_provision.go Add chroot disk build 2019-01-28 12:33:25 +01:00
step_copy_files.go rename interpolation context from ctx to ictx and contexts to ctx to avoid conflicts 2019-04-03 15:56:15 +02:00
step_create_image.go change Builder to be passed a context for cancellation 2019-04-03 15:55:55 +02:00
step_create_ssh_key.go rename interpolation context from ctx to ictx and contexts to ctx to avoid conflicts 2019-04-03 15:56:15 +02:00
step_create_vm.go implement ID and Type values in the provisioner template info sharing 2019-12-13 11:57:01 -08:00
step_create_vm_from_disk.go change Builder to be passed a context for cancellation 2019-04-03 15:55:55 +02:00
step_create_vm_test.go change Builder to be passed a context for cancellation 2019-04-03 15:55:55 +02:00
step_detach_disk.go change Builder to be passed a context for cancellation 2019-04-03 15:55:55 +02:00
step_mount_chroot.go Add chroot disk build 2019-01-28 12:33:25 +01:00
step_mount_extra.go rename interpolation context from ctx to ictx and contexts to ctx to avoid conflicts 2019-04-03 15:56:15 +02:00
step_post_mount_commands.go rename interpolation context from ctx to ictx and contexts to ctx to avoid conflicts 2019-04-03 15:56:15 +02:00
step_pre_mount_commands.go rename interpolation context from ctx to ictx and contexts to ctx to avoid conflicts 2019-04-03 15:56:15 +02:00
step_prepare_device.go rename interpolation context from ctx to ictx and contexts to ctx to avoid conflicts 2019-04-03 15:56:15 +02:00
step_stop_vm.go change Builder to be passed a context for cancellation 2019-04-03 15:55:55 +02:00
token_by_ssh.go Add host key hash verify 2019-01-29 10:44:23 +01:00
utils.go allow a provisioner to timeout 2019-04-08 20:09:21 +02:00