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
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
Mitchell Hashimoto
0df18df40f
builder/amazonebs: extract multistep, use that
2013-06-04 10:00:06 -07:00
Mitchell Hashimoto
079d6f4d43
packer: Introduce Cancel() method to Builder
2013-06-03 14:44:34 -07:00
Mitchell Hashimoto
bf296b396e
builder/amazonebs: panics in edge cases
2013-06-01 21:50:20 -07:00
Mitchell Hashimoto
33f8d29571
builder/amazonebs, command/build: use new UI interface
2013-05-27 15:15:42 -07:00
Mitchell Hashimoto
35a947e304
builder/amazonebs: Add provisioning step
2013-05-23 22:47:59 -07:00
Mitchell Hashimoto
4bd7db0759
go fmt
2013-05-22 14:36:33 -07:00
Mitchell Hashimoto
8273565255
better comments for TODO
2013-05-22 14:36:21 -07:00
Mitchell Hashimoto
cf6d2218ea
builder/amazonebs: Artifact returns AMIs
2013-05-21 22:28:41 -07:00
Mitchell Hashimoto
8dfe78dd19
packer: Log UI output
2013-05-21 11:40:07 -07:00