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
Brendan Hay
d74125d5d0
Adding the ability to specify a security_group_id for the amazonebs builder
2013-07-10 09:32:50 +02:00
Justin Campbell
d66c3d86ee
Add AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY
2013-06-29 09:32:07 -04:00
Justin Campbell
382fcef248
Default to AWS_ env vars for key and secret
2013-06-28 13:45:15 -04: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
13a27deea1
builder/amazonebs: Implement Artifact.Destroy
2013-06-18 16:24:35 -07:00
Mitchell Hashimoto
64f9173e8b
builder/amazonebs: Tests for invalid AMI name
2013-06-17 15:24:33 -07: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
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
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
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
35a947e304
builder/amazonebs: Add provisioning step
2013-05-23 22:47:59 -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
Mitchell Hashimoto
dfc332f98c
builder/amazonebs: Add ssh_* settings
2013-05-21 11:36:26 -07:00
Mitchell Hashimoto
3a97bae000
builder/amazonebs: Refactor into multiple steps
2013-05-21 00:55:32 -07:00
Mitchell Hashimoto
559777e5b7
packer: Ui automatically appends newline
2013-05-20 23:43:37 -07:00
Mitchell Hashimoto
2ee8859ac0
builder/amazonebs: SSH test. It works!
2013-05-20 23:18:44 -07:00
Mitchell Hashimoto
0ea19cf818
builder/amazonebs: Create a temporary keypair for use
2013-05-20 22:35:16 -07:00
Mitchell Hashimoto
15f215d04f
go fmt
2013-05-20 16:50:35 -07:00
Mitchell Hashimoto
2efab467a8
builder/amazonebs: Switch from json to mapstructure for decode
2013-05-20 16:39:43 -07:00
Mitchell Hashimoto
88a018bf5d
packer: Work on communicators... WIP
2013-05-12 14:47:55 -07:00
Mitchell Hashimoto
a2bf964f30
packer/rpc: Properly support hooks
2013-05-11 11:11:40 -07:00
Mitchell Hashimoto
d926b98708
Update all packer/rpc, packer/plugin, builders for new builder API
2013-05-11 10:31:30 -07:00
Mitchell Hashimoto
44bd56c3a8
go fmt
2013-05-10 17:01:24 -07:00
Mitchell Hashimoto
4fc764430d
builder/amazonebs: Wait for AMI to become ready
2013-05-10 15:47:46 -07:00
Mitchell Hashimoto
e071739cd8
builder/amazonebs: Can make an AMI. WHAT!
2013-05-10 15:21:11 -07:00
Mitchell Hashimoto
185d2765be
command/build: Run the builds in parallel
2013-05-10 13:01:54 -07:00
Mitchell Hashimoto
ce6037cca8
builder/amazonebs: Doc for the package
2013-05-09 14:16:39 -07:00
Mitchell Hashimoto
fad5233868
builder/amazonebs: More comments
2013-05-09 14:10:57 -07:00
Mitchell Hashimoto
4c37ce5304
builder/amazonebs: Don't worry about the map[string]interface crap
2013-05-09 14:05:15 -07:00
Mitchell Hashimoto
44c61e537d
Some additional logging
2013-05-09 13:26:40 -07:00
Mitchell Hashimoto
6d0fa84e2c
builder/amazonebs: Read config
2013-05-09 13:19:38 -07:00
Mitchell Hashimoto
587d359887
packer: Builder.Prepare can return an error
2013-05-09 10:54:42 -07:00