22 Commits

Author SHA1 Message Date
Matthew Hooker
c65fa8490d
fix various bugs deregistering AMIs
always deregister ami in session region
validate that session region does not appear in ami_regions
2017-10-30 14:17:19 -07:00
Matthew Hooker
ae455bff99
add debugging help if ec2-upload-bundle fails 2017-10-05 17:33:07 -07:00
Matthew Hooker
4bc8e7de3d
add token variable to upload bundle command template 2017-09-25 16:35:53 -07:00
Matthew Hooker
56c513088b
I think this was the intention 2017-06-09 10:34:49 -07:00
Matthew Hooker
81522dced0
move packer to hashicorp 2017-04-04 13:39:01 -07:00
Ian Glover
1447af5e42 Populate access and secret key for bundle_upload_command. 2015-08-13 14:58:15 +01:00
Mitchell Hashimoto
84189f7a28 builder/*: properly save interpolation context 2015-06-22 09:22:42 -07:00
Mitchell Hashimoto
44b980e659 Merge branch 'aws-sdk-go' of https://github.com/jen20/packer into jen20-aws-sdk-go 2015-05-28 08:24:41 -07:00
Mitchell Hashimoto
034e4e676c amazon/*: use new interpolation functions 2015-05-27 11:47:45 -07:00
James Nugent
e99cd56b6c Migrate from mitchellh/goamz to awslabs/aws-sdk-go
This commit moves the Amazon builders of Packer away from the Hashicorp
fork of the goamz library to the official AWS SDK for Go, in order that
third party plugins may depend on the more complete official library
more easily.
2015-04-12 21:33:09 -04:00
Mitchell Hashimoto
5d1c1e6716 Merge pull request #1373 from anthonybishopric/debug_bundle_commands
builder/amazon-instance: Debug the evaluated bundle commands
2014-09-02 09:49:12 -07:00
Tim Dysinger
c79121617c Use Region not S3Endpoint 2014-08-18 08:52:31 -10:00
abishopric
d62edd6c05 Print the evaluated bundle commands 2014-07-24 16:30:30 -07:00
Alan Grosskurth
af89b31a40 builder/amazon: Fix S3 endpoint URL for instance-store builds
The S3 endpoint URLs don't always include the region name. See:

    http://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region

This mapping is already provided by `goamz` via `region.S3Endpoint`,
so let's use it.
2014-02-23 22:49:10 -08:00
Ross Timson
58444627c1 Use --url flag rather than --location for ec2-upload-bundle
AWS docs (http://goo.gl/rNZiCs) show that --location is deprecated and
to use the --url flag and reference the region endpoint instead.
2014-02-13 09:36:45 +00:00
Mitchell Hashimoto
ae7459718d builder/amazon/instance: use US if region us-east-1 for upload [GH-729] 2013-12-18 09:00:20 -08:00
Mitchell Hashimoto
f7b1c2dbc6 builder/amazon/instance: add location to upload command [GH-679] 2013-12-06 19:04:40 -08:00
Mitchell Hashimoto
0231d798e4 builder/amazon/instance: new multistep API 2013-08-31 13:03:13 -07:00
Mitchell Hashimoto
75ff149ac1 builder/amazon/instance: switch to new template stuff 2013-08-08 17:25:25 -07:00
Mitchell Hashimoto
0552bc7306 builder/amazon/instance: register the AMI 2013-07-25 00:19:04 -05:00
Mitchell Hashimoto
03a2cc8b22 builder/amazon/instance: prefix has CreateTime support 2013-07-24 23:51:46 -05:00
Mitchell Hashimoto
c504beacc6 builder/amazon/instance: upload bundle 2013-07-24 23:29:21 -05:00