Seth Vargo
33ca8b7fb5
Migrate to new AWS repo
2015-06-03 17:13:52 -04:00
Mitchell Hashimoto
07734133a3
builder/amazon: fix test failures
2015-05-28 09:44:33 -07:00
Mitchell Hashimoto
3031886aaf
Merge branch 'master' of https://github.com/aocsolutions/packer into aocsolutions-master
2015-05-28 09:35:02 -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
c78c4e78ad
amazon/common: sleep 3 seconds if instance doesn't exist
2015-05-27 20:15:07 -07:00
lokulin
bda4ef7c65
Retry the AWS API when looking for a newly created instance
...
Sometimes the AWS API responds that it can't find a newly created
instance if you poll it too soon after creation. Retry a few times
to be sure it really hasn't been created.
2015-05-22 15:08:51 +10:00
James Nugent
65a9347b1e
Fix potential nil pointer errors in ported code
...
This commit adds extra nil checks for some pointers which were not
necessary when using goamz
2015-04-15 12:17:44 -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
Nevins Bartolomeo
6686b62347
AWS availability zone could be incorrect when using spot instances with no AZ specified
2015-04-03 20:52:54 -04:00
Mitchell Hashimoto
db90c16118
builder/amazon: support auto spot price discovery [GH-1465]
2014-09-06 10:44:12 -07:00
Mitchell Hashimoto
7d1db44ca4
builder/amazon: clean up UI output for spot instances a bit
2014-09-05 16:58:17 -07:00
Mitchell Hashimoto
3a69b8c1b8
Merge branch 'add-spot-instance-support' of github.com:henrysher/packer into henrysher-add-spot-instance-support
...
Conflicts:
builder/amazon/common/run_config.go
builder/amazon/ebs/builder.go
builder/amazon/instance/builder.go
2014-09-05 16:30:22 -07:00
Mitchell Hashimoto
69cd01bbe2
builder/amazon/common: wait for instance ready before tagging [GH-1367]
2014-09-04 18:43:35 -07:00
Henry Huang
3980c7dcfd
Save the spot request before waiting for its active state
2014-05-26 23:01:49 +08:00
Henry Huang
1e1fa3de26
Add the cleanup for existing spot request
2014-05-26 23:01:49 +08:00
Henry Huang
c33e7cc867
Add the support of launching spot instances in "amazon-ebs" AMI
2014-05-26 23:01:49 +08:00
Mitchell Hashimoto
8aabe01bad
builder/amazon/common: run_tags to apply to launch [GH-722]
2013-12-27 20:54:35 -07:00
Mitchell Hashimoto
b95ad0c232
builder/amazon/all: launched instances have a name [GH-642]
2013-12-16 18:11:23 -08:00
Mitchell Hashimoto
1234e61cda
builder/amazon/all: get rid of unnecessary field
2013-12-12 21:38:48 -08:00
Nathan Sullivan
e711255d95
fix some debugging for PublicIpAddress
2013-11-26 15:03:45 +10:00
Nathan Sullivan
13f55bdec6
working AssociatePublicIpAddress support
2013-11-26 14:45:06 +10:00
Nathan Sullivan
5cbff00afa
goamz aspects of AssociatePublicIpAddress working now
2013-11-26 14:14:43 +10:00
Nathan Sullivan
49a131951a
reverting testing stuff
2013-11-26 13:46:32 +10:00
Nathan Sullivan
0cfb7564d5
lets try a string instead of a bool for AssociatePublicIpAddress
2013-11-26 13:44:39 +10:00
Nathan Sullivan
31bf1f342c
https://github.com/mitchellh/packer/issues/578
2013-11-26 11:32:08 +10:00
Mitchell Hashimoto
c8e911cdc3
Merge branch 'security-groups' of https://github.com/whiteley/packer into whiteley-security-groups
...
Conflicts:
builder/amazon/common/run_config.go
2013-11-05 14:34:12 -08:00
Mitchell Hashimoto
b95a56899f
builder/amazon: rename availzone to availability zone
2013-10-23 20:44:11 -07:00
Matthew Hooker
1aa551a49c
builder/amazon/common: Add AvailZone to StepRunSourceInstance struct
...
[GH-536]
2013-10-21 08:08:00 -07:00
Matt Whiteley
09f4011234
builder/amazon: instances can be launched with a list of security groups
2013-10-04 10:42:45 -07:00
Mitchell Hashimoto
80ed7eddf4
builder/amazon/chroot: new multistep API
2013-08-31 12:58:55 -07:00
Mitchell Hashimoto
9186a7f214
builder/amazon: output DNS name if debug mode
2013-08-30 14:55:56 -07:00
Mitchell Hashimoto
c5823be2e0
builder/amazon: fix crash case if SIGINT while waiting for instance
2013-08-17 09:45:23 -06:00
Mark Peek
91670cea07
builder/amazon: add block device mappings [GH-90]
2013-08-15 14:05:08 -07:00
Mitchell Hashimoto
3ff3746969
builder/amazon/common: support user_data_file
2013-08-12 11:52:43 -07:00
Jeremy Carroll
746ac9dee4
Convert string to byte array
2013-08-07 15:20:49 -07:00
Jeremy Carroll
4f02c506e9
Testing adding user-data support to Packer
2013-08-07 14:33:20 -07:00
Mitchell Hashimoto
d76b7e8c36
fmt
2013-07-31 15:29:03 -07:00
Mark Peek
1aec0d6a50
Handle missing source AMI error
...
Specifying a non-existent source AMI will result in an empty array of
images in the response which would cause an "index out of range" panic.
This change handles this case more gracefully with an error message.
2013-07-31 14:20:25 -07:00
James Massara
13fb00b2c6
Added IAM Instance Profile support
...
Conflicts:
builder/amazon/common/run_config.go
2013-07-31 11:40:59 -07:00
Mitchell Hashimoto
006f0440a7
builder/amazon/common: wait for terminated state
2013-07-31 09:37:43 -07:00
Mitchell Hashimoto
12e7042c5b
builder/amazon/chroot: wait for volume to beecome ready
2013-07-30 16:07:49 -07:00
Mitchell Hashimoto
c7b88d654e
builder/amazon/common: generic wait for state to wait for any state
2013-07-30 16:07:48 -07:00
Mitchell Hashimoto
1d0adbf2c2
builder/amazon/*: sigint while waiting for state change works
2013-07-25 20:49:15 -05:00
Mitchell Hashimoto
c710323f04
builder/amazon/*: Fix failing tests from rebase of VPC
2013-07-23 22:48:33 -05:00
Mitchell Hashimoto
64ced7ff2c
builder/amazon: extract StepRunSourceInstance
2013-07-23 22:48:32 -05:00