Commit Graph

58 Commits (7efe3cac3d5e728ee471bbccfd1043e06e4dcafe)

Author SHA1 Message Date
Megan Marsh 2b9f937c23 increase max retries from 3 to 20
8 years ago
Matthew Hooker b16f2ec64b
builder/amazon: Use sdk default cred providers
8 years ago
Matthew Hooker e483087574
builder/amazon: Use service default retries.
8 years ago
Matthew Hooker 2806523834
Fix issue with assume role credentials
8 years ago
Matthew Hooker 5b64f71702
Merge pull request #5764 from hashicorp/fix5760
8 years ago
Matthew Hooker 21812fa17f
Add volume and run tags if in us-gov/china
8 years ago
Matthew Hooker c5bcb97d06
"borrow" access config code from terraform.
8 years ago
Matthew Hooker 98c2a2d1f7
builder/aws: catch static credential errors early.
8 years ago
Matthew Hooker 7b5c0900ef
Correctly set aws region if given in template along with a profile.
8 years ago
Matthew Hooker 0a24f4eb2e
don't shadow package name
9 years ago
Matthew Hooker 545ee45567
debug region we found
9 years ago
Matthew Hooker c106e7c26c
Don't set region from metadata if profile is set.
9 years ago
Matthew Hooker 52fc0100eb
this is a critical error
9 years ago
Matthew Hooker d322fc6c19
Shorten metadata timeout
9 years ago
Matthew Hooker 314fc94bd8
clean up
9 years ago
Matthew Hooker 0e4ea7420b
fix tests
9 years ago
Matthew Hooker c65fa8490d
fix various bugs deregistering AMIs
9 years ago
Matthew Hooker febc65aa7c
try again to get region from metadata
9 years ago
Matthew Hooker 350e8bfe0d
we don't need to look for region in metadata.
9 years ago
Matthew Hooker a619759bf7
add support for profile
9 years ago
Matthew Hooker 3fb4162660
remove code from bad merge
9 years ago
Matthew Hooker 624aaa2067
bugfix
9 years ago
Matthew Hooker f637878822
with wrapping
9 years ago
Matthew Hooker 23084fe171
dedupe
9 years ago
Rickard von Essen 15f80dc5ab
aws: Drop undocumented option `profile`
9 years ago
Matthew Hooker 56c513088b
I think this was the intention
9 years ago
Matthew Hooker 94854a26d9
fix go vet issue
9 years ago
Rickard von Essen f106e60a7e
builder/amazon: Added MFA support
9 years ago
Rickard von Essen f55c3b9d34
builder/amazon: Support assume role with assume_role_arn
9 years ago
Rickard von Essen 3833d34829
builder/amazon: Cleaned up credential handeling
9 years ago
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
9 years ago
Matthew Hooker 81522dced0
move packer to hashicorp
9 years ago
Matthew Hooker 35578d9ed1
remove unnecessary type conversions
9 years ago
Matthew Hooker 79287d7e47
simplify some code
9 years ago
Matthew Hooker 9a91ae4e8f
fix new session error when creating cred chain.
10 years ago
Matthew Hooker 48bdae93d1 aws-sdk: use session.NewSession
10 years ago
owjjh 658fadbc53 changing if conditionals to be ! instead of == false
10 years ago
owjjh d489ce9904 make fmt run
10 years ago
owjjh de5b69a8df Adding ability to skip region validation when using AWS
10 years ago
Chris Bednarski d0ab8658bc Create a session for EC2RoleProvider; prevents crash; fixes #3123
10 years ago
Christopher Gerber f1ae2a2b5a Moved assume credentials to CLIConfig. Added new functions and methods to CLIConfig. Ran gofmt.
10 years ago
Christopher Gerber 7975c5e336 Move CLIConfig instantiation inside of ProfileName check.
10 years ago
Christopher Gerber 883acb18fa IAM Role Switching
10 years ago
Chris Bednarski 4cc443da8e Update use of ec2rolecreds to match upstream
11 years ago
Chris Bednarski 28bf1877c2 Updated AWS SDK calls to match the 0.7.0 release of the AWS SDK
11 years ago
Seth Vargo 33ca8b7fb5 Migrate to new AWS repo
11 years ago
Mitchell Hashimoto b78b119a11 amazon/*: fix merge issues with lib switch
11 years ago
Mitchell Hashimoto 44b980e659 Merge branch 'aws-sdk-go' of https://github.com/jen20/packer into jen20-aws-sdk-go
11 years ago
Mitchell Hashimoto 50d7c598e9 amazon/ebs: use new interpolation stuff
11 years ago
James Nugent e99cd56b6c Migrate from mitchellh/goamz to awslabs/aws-sdk-go
11 years ago