32 Commits

Author SHA1 Message Date
Matthew Hooker
7a189a83a1
fix imports
`find . -type f -name '*.go' -not -path "./vendor/*" -exec goimports -w {} \;`
2018-01-24 17:09:17 -08:00
Matthew Hooker
a831d522be
change run signatures
Run now takes a context as well as a statebag. We'll assign the context
to the blank identifier to prevent namespace collisions. We'll let the
step authors opt-in to using the context.

`find . -iname "step_*.go" -exec gsed -i'' 's/func \(.*\)Run(/func \1Run(_ context.Context, /' {} \;`
2018-01-24 17:09:17 -08:00
Matthew Hooker
366dc3da0a
move multistep imports to helper.
gomvpkg -from "github.com/mitchellh/multistep" -to "github.com/hashicorp/packer/helper/multistep"
2018-01-24 17:09:15 -08:00
Matthew Hooker
0e3469e913
spell fix 2017-05-25 18:49:45 -07:00
Matthew Hooker
81522dced0
move packer to hashicorp 2017-04-04 13:39:01 -07:00
Rickard von Essen
4b1e014be8
builder/amazon: Crashes when multiple EBS vols are used
If you use a new EBS vol (which hasn't any snapshot) Packer crashes when
creating the AMI.

Closes #4303
2016-12-21 15:37:08 +01:00
Ari Aviran
46f217f255 amazon - Snapshot permissions correctly applied
Fixes #3344
2016-12-04 16:03:01 +01:00
Chris Bednarski
1a775c05d9 Update calls to amazon to match the upstream
- see http://aws.amazon.com/releasenotes/2948141298714307
- run awsmigrate-renamer on each amazon module (chroot, instance, etc.)
2015-08-17 17:44:01 -07:00
Chris Bednarski
28bf1877c2 Updated AWS SDK calls to match the 0.7.0 release of the AWS SDK 2015-07-28 17:10:21 -07:00
Seth Vargo
33ca8b7fb5 Migrate to new AWS repo 2015-06-03 17:13:52 -04: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
50d7c598e9 amazon/ebs: use new interpolation stuff 2015-05-27 11:35:56 -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
Emil Hessman
505f51ff27 builder/amazon/ebs: fix incorrect printf verb type
Fixes the following vet report:

builder/amazon/ebs/step_create_ami.go:90: arg resp.Return for printf verb %s of wrong type: bool
2015-02-25 05:29:53 +01:00
Mitchell Hashimoto
dc0de7da49 builder/amazon-ebs: don't clean up AMI if doesn't exist [GH-1469] 2014-09-08 09:53:20 -07:00
Mitchell Hashimoto
a587bd47a1 builder/amazon/ebs: clean up AMI in error [GH-1186] 2014-09-06 10:12:33 -07:00
Henry Huang
97eb744c87 De-register the unavailable image in the cleanup 2014-07-22 23:40:38 +08:00
Henry Huang
43385a58bc Refine the comments 2014-05-20 11:16:50 +08:00
Henry Huang
e8c09ae223 Add the cleanup when the process of EBS AMI interrupted 2014-05-20 00:40:39 +08:00
Mitchell Hashimoto
1234e61cda builder/amazon/all: get rid of unnecessary field 2013-12-12 21:38:48 -08:00
Mitchell Hashimoto
5e0da21173 builder/amazon/ebs: nicer output 2013-12-12 12:24:51 -08:00
Mitchell Hashimoto
27608a7b0f builder/amazon/*: use WaitForState for AMIs 2013-09-12 20:33:32 -07:00
Mitchell Hashimoto
b04cff5a9e builder/amazon/ebs: new multistep API 2013-08-31 13:00:43 -07:00
Mark Peek
91670cea07 builder/amazon: add block device mappings [GH-90] 2013-08-15 14:05:08 -07:00
Mitchell Hashimoto
c8a98683d5 builder/amazon/ebs: get rid of unnecessary template 2013-08-08 17:25:25 -07:00
Mark Peek
8a636519f8 builder/amazon/all: refactor ami tags [GH-233]
Refactor the EBS ami tag into a common step and add support
for instance-store ami tags.
/cc @jmassara
2013-08-06 15:05:03 -07:00
James Massara
1ff7cc28fe removed amiId temp variable 2013-08-01 18:35:43 -07:00
James Massara
d6f8411c43 Adds support for adding tags to the AMI 2013-08-01 16:38:22 -07:00
James Massara
096a64ad92 Adds support for adding tags to the AMI 2013-08-01 16:31:07 -07:00
Mitchell Hashimoto
b645586d58 builder/amazon/chroot: boilerplate 2013-07-30 16:07:48 -07:00
Mitchell Hashimoto
d46741e4f7 builder/amazon/*: wait for AMI to be ready in common, use it instance 2013-07-25 00:56:37 -05:00
Mitchell Hashimoto
b358574636 builder/amazon/ebs: rename to amazon/ebs in order to support others 2013-07-15 15:02:18 +09:00