Commit Graph

81 Commits

Author SHA1 Message Date
Mitchell Hashimoto a0f1667df1 communicator/ssh: tweakable timeout on retry connection 2013-07-14 21:05:22 +09:00
Mitchell Hashimoto 9718a4656c communicator/ssh: have a Connection func so we can re-establish
[GH-152]
2013-07-14 20:22:57 +09:00
Mark Peek 86db4eaa57 Move AWS auth decisions to goamz [GH-160]
Currently the passed in AWS auth or AWS environment variables are
interpreted by packer. This change moves that logic into goamz in
order to support both the existing and instance based IAM role
authentication. This requires a corresponding change to goamz.
2013-07-14 12:29:43 +09:00
Mitchell Hashimoto 3b4ef72e47 Unused keys are invalid in templates [GH-104] 2013-07-14 09:28:56 +09:00
Mitchell Hashimoto 2fdcf85510 Merge pull request #162 from brendanhay/persistent-security-group
builder/amazonebs: Ability to specify a pre-existing SecurityGroupId for the AmazonEBS Builder
2013-07-12 01:19:25 -07:00
Mitchell Hashimoto bdac2a87ef Update CHANGELOG 2013-07-12 07:01:23 +09:00
Mitchell Hashimoto 7a9109d2a9 Merge pull request #172 from MattSurabian/feature/ebs-builder-bug
builder/amazonebs: Validate that instance exists and is EBS based before trying to launch it
2013-07-11 14:59:02 -07:00
Matt Surabian 0505fb4a0a Validate that instance exists and is EBS based before trying to launch it. 2013-07-11 17:41:17 -04:00
Mark Peek 9d4d854fe1 Add AWS instance id to normal output
The AWS instance id is only output when logging is occurring. If an
error happens it is useful to know the AWS instance id of the instance
spun up by packer in case further cleanup or forensics are needed.
2013-07-11 20:27:44 +00:00
Brendan Hay d74125d5d0 Adding the ability to specify a security_group_id for the amazonebs builder 2013-07-10 09:32:50 +02:00
Mitchell Hashimoto 3e8678f76d builder/amazonebs: retry SSH handshakes [GH-130] 2013-07-07 20:37:43 -07:00
Mitchell Hashimoto b4d9a8f4a7 builder/amazonebs: tests for env vars 2013-07-01 15:22:35 -07:00
Mitchell Hashimoto 94e2999b89 Merge pull request #40 from justincampbell/amazon-env-vars
builder/amazonebs: Default to AWS env vars for key and secret
2013-07-01 15:11:19 -07:00
Justin Campbell d66c3d86ee Add AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY 2013-06-29 09:32:07 -04:00
Jack Pearkes 9751a71ca7 builder/amazonebs: sleep between checks for ami create
fixes #50
2013-06-29 12:35:48 +02:00
Justin Campbell 382fcef248 Default to AWS_ env vars for key and secret 2013-06-28 13:45:15 -04:00
Krzysztof Wilczynski 96e8d71b88 Fix a typo.
Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
2013-06-28 17:33:42 +01:00
Mitchell Hashimoto a7a51f1d8f builder/amazonebs: Wait for instance to terminate during cleanup 2013-06-27 21:42:07 -04:00
Mitchell Hashimoto 8a609b67c1 builder/*: Fail if provisioning fails [GH-33] 2013-06-26 17:54:57 -07:00
Mitchell Hashimoto 5a9a993c32 builder/amazonebs: Artifact ID works 2013-06-26 17:40:21 -07:00
Mitchell Hashimoto 868bb9c6f7 builder/amazonebs: Get rid of TODO since we can specify source states 2013-06-19 20:57:56 -07:00
Mitchell Hashimoto 3503e96894 builder/amazonebs: Return proper errors 2013-06-19 20:54:02 -07:00
Mitchell Hashimoto b98df11cbf fmt 2013-06-18 21:54:33 -07:00
Mitchell Hashimoto 0ac538dc31 builder/amazonebs: If only one error on destroy, just return it 2013-06-18 16:25:35 -07:00
Mitchell Hashimoto 13a27deea1 builder/amazonebs: Implement Artifact.Destroy 2013-06-18 16:24:35 -07:00
Mitchell Hashimoto b9fb065d27 packer: Add Destroy method to artifact
[GH-18]
2013-06-18 16:01:14 -07:00
Mitchell Hashimoto 64f9173e8b builder/amazonebs: Tests for invalid AMI name 2013-06-17 15:24:33 -07:00
Jack Pearkes b75daf62ff builder/amazonebs: check for err parsing template for ami name 2013-06-17 23:55:08 +02:00
Mitchell Hashimoto 3983edb1a3 fmt 2013-06-15 11:07:30 -07:00
Mitchell Hashimoto f754c171e8 builder/*: Add support for debug 2013-06-15 10:51:09 -07:00
Mitchell Hashimoto a6194467ac builder/*: Adhere to the new interface 2013-06-14 12:29:48 -07:00
Mitchell Hashimoto 521b59a6fa Make everything support the new builder interface 2013-06-12 16:06:56 -07:00
Mitchell Hashimoto dc641324de builder/amazonebs: Create temporary security group as well 2013-06-11 14:37:10 -07:00
Mitchell Hashimoto 3b3efab805 builder/amazonebs: Tell the user if the termination failed 2013-06-11 14:15:43 -07:00
Mitchell Hashimoto ccc95e7e5c builder/amazonebs: Slight slepe between connection attempts to SSH 2013-06-11 14:13:33 -07:00
Mitchell Hashimoto 352f875dbf builder/amazonebs: Handle interrupts while waiting for SSH 2013-06-11 14:10:57 -07:00
Mitchell Hashimoto 417f7e7f47 fmt 2013-06-11 14:09:31 -07:00
Mitchell Hashimoto de9c4ace9e builder/amazonebs: Timeouts while waiting for SSH to connect 2013-06-11 14:09:16 -07:00
Mitchell Hashimoto 62309cb6de Build/Builder take a Cache object now 2013-06-09 22:00:47 -07:00
Mitchell Hashimoto c29d754fa8 builder/vmware: break out the proper loop 2013-06-08 19:26:07 -07:00
Mitchell Hashimoto be1e60aa26 builder/amazonebs: Validate region exists 2013-06-08 17:54:18 -07:00
Mitchell Hashimoto 4fa27e6a30 builder/amazonebs: Finish basic validation 2013-06-08 17:49:03 -07:00
Mitchell Hashimoto 4223e5bcca builder/amazonebs: Additional validation 2013-06-08 17:46:34 -07:00
Mitchell Hashimoto 6a23cb726c builder/amazonebs: Config validation, testing 2013-06-08 17:41:56 -07:00
Mitchell Hashimoto ec22477185 builder/amazonebs: Use unix timestamps 2013-06-04 13:12:04 -07:00
Mitchell Hashimoto a436b91330 builder/amazonebs: interpolate create time into AMI name 2013-06-04 12:52:52 -07:00
Mitchell Hashimoto 04a4d91431 builder/amazonebs: Better checking for states 2013-06-04 11:29:59 -07:00
Mitchell Hashimoto a099e32df2 builder/amazonebs: Handle case where no AMIs 2013-06-04 11:26:08 -07:00
Mitchell Hashimoto f67fdecab6 builder/amazonebs: If cancelled, don't return artifact 2013-06-04 10:59:12 -07:00
Mitchell Hashimoto 5aa78cb4aa builder/amazonebs: Properly implement cancel 2013-06-04 10:53:35 -07:00