packer-cn/builder/amazon/chroot
Matthew Hooker 21812fa17f
Add volume and run tags if in us-gov/china
We can't tag on instance creation when we're in "restricted" regions,
so let's add the tags after the resources have been created.

Adds methods to AccessConfig to detect if we're in China or US Gov
regions (i.e. "restricted").

Also turns tag:tag maps into a type, and moves methods around validating
and converting them to ec2Tags to methods of the type.
2018-02-05 16:39:20 -08:00
..
builder.go move multistep imports to helper. 2018-01-24 17:09:15 -08:00
builder_test.go update tests for mapstructure behavior changes 2018-01-26 12:40:34 -08:00
cleanup.go move multistep imports to helper. 2018-01-24 17:09:15 -08:00
command.go builder/amazon/chroot: CommandWrapper 2013-09-30 09:33:57 -07:00
communicator.go move packer to hashicorp 2017-04-04 13:39:01 -07:00
communicator_test.go run goimports 2018-01-22 17:21:10 -08:00
copy_files.go builder/amazon/chroot: CommandWrapper 2013-09-30 09:33:57 -07:00
copy_files_test.go builder/amazon/chroot: get tests psasing on Windows 2014-04-26 12:31:55 -07: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
run_local_commands.go move packer to hashicorp 2017-04-04 13:39:01 -07:00
step_attach_volume.go fix imports 2018-01-24 17:09:17 -08:00
step_attach_volume_test.go builder/amazon/chroot: switch func type to interface 2013-07-30 17:56:42 -07:00
step_check_root_device.go fix imports 2018-01-24 17:09:17 -08:00
step_chroot_provision.go fix imports 2018-01-24 17:09:17 -08:00
step_copy_files.go fix imports 2018-01-24 17:09:17 -08:00
step_copy_files_test.go builder/amazon/chroot: switch func type to interface 2013-07-30 17:56:42 -07:00
step_create_volume.go fix imports 2018-01-24 17:09:17 -08:00
step_early_cleanup.go fix imports 2018-01-24 17:09:17 -08:00
step_early_unflock.go fix imports 2018-01-24 17:09:17 -08:00
step_flock.go fix imports 2018-01-24 17:09:17 -08:00
step_flock_test.go builder/amazon/chroot: let go of flock earlier for parallelism 2013-07-30 22:25:33 -07:00
step_instance_info.go fix imports 2018-01-24 17:09:17 -08:00
step_mount_device.go fix imports 2018-01-24 17:09:17 -08:00
step_mount_device_test.go builder/amazon/chroot: switch func type to interface 2013-07-30 17:56:42 -07:00
step_mount_extra.go fix imports 2018-01-24 17:09:17 -08:00
step_mount_extra_test.go builder/amazon/chroot: switch func type to interface 2013-07-30 17:56:42 -07:00
step_post_mount_commands.go fix imports 2018-01-24 17:09:17 -08:00
step_pre_mount_commands.go fix imports 2018-01-24 17:09:17 -08:00
step_prepare_device.go fix imports 2018-01-24 17:09:17 -08:00
step_register_ami.go fix imports 2018-01-24 17:09:17 -08:00
step_register_ami_test.go Update calls to amazon to match the upstream 2015-08-17 17:44:01 -07:00
step_snapshot.go fix imports 2018-01-24 17:09:17 -08:00