packer-cn/builder/amazon/common
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
..
access_config.go Add volume and run tags if in us-gov/china 2018-02-05 16:39:20 -08:00
access_config_test.go Add volume and run tags if in us-gov/china 2018-02-05 16:39:20 -08:00
ami_config.go Add volume and run tags if in us-gov/china 2018-02-05 16:39:20 -08:00
ami_config_test.go tests 2017-11-30 14:08:48 -08:00
artifact.go Set session in state bag 2017-12-19 11:32:33 -08:00
artifact_test.go Natural order of AMI artifacts 2017-08-24 20:57:12 +02:00
block_device.go move kms/encrypted validation to block devices 2018-01-12 15:10:51 -08:00
block_device_test.go builder/amazon: Added KmsKeyID to BlockDevice 2018-01-11 20:27:38 -08:00
interpolate_build_info.go builder/amazon: Add SourceAMI and BuildRegion template 2017-01-21 20:39:58 +01:00
regions.go builder/amazon: Added new region Paris - eu-west-3 2017-12-19 10:00:03 +01:00
run_config.go spot instance ena/sriov checking for all other builders 2017-12-08 14:56:19 -08:00
run_config_test.go move packer to hashicorp 2017-04-04 13:39:01 -07:00
ssh.go move multistep imports to helper. 2018-01-24 17:09:15 -08:00
ssh_test.go move multistep imports to helper. 2018-01-24 17:09:15 -08:00
state.go move multistep imports to helper. 2018-01-24 17:09:15 -08:00
step_ami_region_copy.go fix imports 2018-01-24 17:09:17 -08:00
step_create_tags.go Add volume and run tags if in us-gov/china 2018-02-05 16:39:20 -08:00
step_deregister_ami.go fix imports 2018-01-24 17:09:17 -08:00
step_encrypted_ami.go fix imports 2018-01-24 17:09:17 -08:00
step_get_password.go fix imports 2018-01-24 17:09:17 -08:00
step_key_pair.go fix imports 2018-01-24 17:09:17 -08:00
step_modify_ami_attributes.go fix imports 2018-01-24 17:09:17 -08:00
step_modify_ebs_instance.go fix imports 2018-01-24 17:09:17 -08:00
step_pre_validate.go fix imports 2018-01-24 17:09:17 -08:00
step_run_source_instance.go Add volume and run tags if in us-gov/china 2018-02-05 16:39:20 -08:00
step_run_spot_instance.go Add volume and run tags if in us-gov/china 2018-02-05 16:39:20 -08:00
step_security_group.go fix imports 2018-01-24 17:09:17 -08:00
step_source_ami_info.go fix imports 2018-01-24 17:09:17 -08:00
step_stop_ebs_instance.go fix imports 2018-01-24 17:09:17 -08:00
tags.go Add volume and run tags if in us-gov/china 2018-02-05 16:39:20 -08:00
template_funcs.go Fix not allowed comma, add all allowed special characters 2015-10-19 13:41:30 +03:00
template_funcs_test.go Fix not allowed comma, add all allowed special characters 2015-10-19 13:41:30 +03:00