packer-cn/builder/amazon/chroot
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
..
builder.go packer.io prefix removal, html extension remove for in-code errors 2020-04-07 17:53:22 -04:00
builder.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
builder_test.go Share .Device and .MountPath between builders, provisioners and post-processors (#8621) 2020-01-20 16:29:38 +01:00
copy_files.go builder/amazon/chroot: CommandWrapper 2013-09-30 09:33:57 -07:00
copy_files_test.go Move CommandWrapper & ShellCommand to common 2019-10-24 04:06:29 +00:00
device.go Formatting 2014-07-29 16:15:53 -07:00
device_test.go Add volume and run tags if in us-gov/china 2018-02-05 16:39:20 -08:00
lockfile.go builder/amazon/chroot: fix compilaton on Windows 2013-07-30 21:50:59 -07:00
lockfile_unix.go Fix building packer on GOOS=solaris 2017-08-14 10:34:06 -07:00
step_attach_volume.go move UI call to before the wait; add context to these steps 2018-07-11 10:36:21 -07:00
step_attach_volume_test.go Move common steps together 2019-10-24 04:21:46 +00:00
step_check_root_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_create_volume.go wip 2020-03-16 17:47:44 +01:00
step_create_volume_test.go change Builder to be passed a context for cancellation 2019-04-03 15:55:55 +02:00
step_early_unflock.go Move common steps together 2019-10-24 04:21:46 +00:00
step_flock.go rename interpolation context from ctx to ictx and contexts to ctx to avoid conflicts 2019-04-03 15:56:15 +02:00
step_flock_test.go Move common steps together 2019-10-24 04:21:46 +00:00
step_instance_info.go rename interpolation context from ctx to ictx and contexts to ctx to avoid conflicts 2019-04-03 15:56:15 +02:00
step_mount_device.go Add golangci-lint to project (#8686) 2020-02-14 11:42:29 -05:00
step_mount_device_test.go Move common steps together 2019-10-24 04:21:46 +00:00
step_prepare_device.go Add golangci-lint to project (#8686) 2020-02-14 11:42:29 -05:00
step_register_ami.go make sure step_register_ami in chroot builder respects encryption and ami skip build retion values once the copy happens 2019-10-09 16:52:41 -07:00
step_register_ami_test.go Format code with `gofmt -s -w` 2020-01-28 16:52:50 -05:00
step_snapshot.go move UI call to before the wait; add context to these steps 2018-07-11 10:36:21 -07:00