packer-cn/builder/amazon/instance
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 Add volume and run tags if in us-gov/china 2018-02-05 16:39:20 -08:00
builder_test.go run goimports 2018-01-22 17:21:10 -08:00
step_bundle_volume.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_upload_bundle.go fix imports 2018-01-24 17:09:17 -08:00
step_upload_x509_cert.go fix imports 2018-01-24 17:09:17 -08:00