Commit Graph

67 Commits (369b2dae5eb115df45cfd67bb2cd3a897b61deb9)

Author SHA1 Message Date
Mikhail Ushanov 4608b5d39d amazon: add option for skipping TLS verification
8 years ago
Adrien Delorme ed793a8fb8 make ValidateRegion a member of *AccessConfig and make it variadic
8 years ago
Megan Marsh 340009009d Revert "Revert "Merge pull request #6892 from hashicorp/fix_6890""
8 years ago
Megan Marsh 0cd3f36d50 Revert "Merge pull request #6892 from hashicorp/fix_6890"
8 years ago
Megan Marsh 0924a316b7 fix template-set credentials
8 years ago
Megan Marsh b0cfecf314 remove unnecessary valid flag
8 years ago
Megan Marsh 7c3f0aa3b2 make sure region validation catches authentication errors
8 years ago
Megan Marsh 93f1155a14 remove test-related special casing
8 years ago
Matt DeBoer 09797df958 use a UI wrapper to auto-decode error messages
8 years ago
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.
9 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