Matthew Hooker
|
febc65aa7c
|
try again to get region from metadata
|
2017-06-14 16:30:18 -07:00 |
|
Matthew Hooker
|
350e8bfe0d
|
we don't need to look for region in metadata.
Closes #4615'
|
2017-06-13 17:35:48 -07:00 |
|
Matthew Hooker
|
a619759bf7
|
add support for profile
|
2017-06-09 11:24:30 -07:00 |
|
Matthew Hooker
|
3fb4162660
|
remove code from bad merge
|
2017-06-09 11:07:29 -07:00 |
|
Matthew Hooker
|
624aaa2067
|
bugfix
|
2017-06-09 11:01:27 -07:00 |
|
Matthew Hooker
|
f637878822
|
with wrapping
|
2017-06-09 10:46:01 -07:00 |
|
Matthew Hooker
|
23084fe171
|
dedupe
|
2017-06-09 10:41:58 -07:00 |
|
Rickard von Essen
|
15f80dc5ab
|
aws: Drop undocumented option profile
This was added in 883acb18fa to support
assume role and shared configuration file. This was never completed.
|
2017-06-09 10:37:54 -07:00 |
|
Matthew Hooker
|
56c513088b
|
I think this was the intention
|
2017-06-09 10:34:49 -07:00 |
|
Matthew Hooker
|
94854a26d9
|
fix go vet issue
|
2017-06-09 10:30:07 -07:00 |
|
Rickard von Essen
|
f106e60a7e
|
builder/amazon: Added MFA support
|
2017-06-09 10:28:31 -07:00 |
|
Rickard von Essen
|
f55c3b9d34
|
builder/amazon: Support assume role with assume_role_arn
This supports assuming a role when using profile or static credentials.
|
2017-06-09 10:27:56 -07:00 |
|
Rickard von Essen
|
3833d34829
|
builder/amazon: Cleaned up credential handeling
This properly handles:
- Preference between types of credential
- Assume role via ECS Task Role
|
2017-06-09 10:26:22 -07:00 |
|
Rémi Jouannet
|
45143bb6f4
|
add an option custom_endpoint_ec2 for amazon builder, add a condition if vpc_id is empty don't add the parameter to the aws call
|
2017-05-17 18:45:20 +02:00 |
|
Matthew Hooker
|
81522dced0
|
move packer to hashicorp
|
2017-04-04 13:39:01 -07:00 |
|
Matthew Hooker
|
35578d9ed1
|
remove unnecessary type conversions
|
2017-03-28 20:36:21 -07:00 |
|
Matthew Hooker
|
79287d7e47
|
simplify some code
|
2017-03-28 20:36:20 -07:00 |
|
Matthew Hooker
|
9a91ae4e8f
|
fix new session error when creating cred chain.
the old and deprecated method won't error and so is safe to use
even if we're not in amazon.
|
2016-11-14 11:39:22 -08:00 |
|
Matthew Hooker
|
48bdae93d1
|
aws-sdk: use session.NewSession
|
2016-11-01 15:53:04 -07:00 |
|
owjjh
|
658fadbc53
|
changing if conditionals to be ! instead of == false
|
2016-06-07 09:21:43 -04:00 |
|
owjjh
|
d489ce9904
|
make fmt run
|
2016-06-06 14:37:09 -04:00 |
|
owjjh
|
de5b69a8df
|
Adding ability to skip region validation when using AWS
|
2016-06-06 14:17:12 -04:00 |
|
Chris Bednarski
|
d0ab8658bc
|
Create a session for EC2RoleProvider; prevents crash; fixes #3123
|
2016-02-19 17:10:05 -08:00 |
|
Christopher Gerber
|
f1ae2a2b5a
|
Moved assume credentials to CLIConfig. Added new functions and methods to CLIConfig. Ran gofmt.
|
2016-02-03 15:53:01 -06:00 |
|
Christopher Gerber
|
7975c5e336
|
Move CLIConfig instantiation inside of ProfileName check.
|
2016-02-02 08:36:36 -06:00 |
|
Christopher Gerber
|
883acb18fa
|
IAM Role Switching
Adds initial IAM Role Switching support and support for AWS CLI Credential and Config files.
See: https://github.com/mitchellh/packer/issues/3109
|
2016-02-01 18:55:59 -06:00 |
|
Chris Bednarski
|
4cc443da8e
|
Update use of ec2rolecreds to match upstream
|
2015-08-10 13:59:56 -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
|
b78b119a11
|
amazon/*: fix merge issues with lib switch
|
2015-05-28 08:31:22 -07:00 |
|