Commit Graph

94 Commits (69fe131571f14221fc35bbcfd8fa8a5fca5fd6ef)

Author SHA1 Message Date
nywilken 488e539f63 builder/amazon: Add helper function for checking against AWSError
7 years ago
Adrien Delorme 078ba7c8c3 commit old code generation tool
7 years ago
Adrien Delorme 5517d41468 make sure all documentation fields are there
7 years ago
Adrien Delorme 4cb7c30987 Merge remote-tracking branch 'origin/master' into scrape_doc_to_builder_struct_config
7 years ago
Christian Muehlhaeuser 216afbaa8b
Fixed various typos
7 years ago
Adrien Delorme 8e857d64f1 aws: rewrap struct comments for documentation generation
7 years ago
Adrien Delorme e09f3fbd02 amazon: update docs & links
7 years ago
Adrien Delorme e6cbb013ba add // go:generate struct-markdown to all previously edited files
7 years ago
Adrien Delorme f1917edd34 generate the comments for config struct of builders scraping doc website
7 years ago
Megan Marsh ca9a5daf29 fix proxy and tls
7 years ago
Megan Marsh 3704a053d0 move region validation and credential wait into step pre validate
7 years ago
Megan Marsh 8add176ab7 finish first pass at vault code; needs testing and cleanup of error messages
7 years ago
Megan Marsh 7a78b47e83 make vault engine stuff into a little struct for easier management
7 years ago
Megan Marsh 035c3506ba manually set proxyfromenvironment in default http client for ec2 sessions
7 years ago
Adrien Delorme 4a2773f8fa remove default max retries config of 8, it will now be used from env
7 years ago
Adrien Delorme 964b149df2 aws: remove now unused AccessConfig.metadataRegion
7 years ago
Adrien Delorme 335f442b51 aws: unwrap AccessConfig.region func
7 years ago
Adrien Delorme 54af9951a8 make guard clauses to clearly see success pass
7 years ago
Adrien Delorme 0864b4d07b name unclear import
7 years ago
Megan Marsh e0543246fa remove commented code
7 years ago
Megan Marsh 783ed32e7e fix region stuff
7 years ago
Megan Marsh 042e9ad14b Move logging about aws waiters to the access config prepare() so that it's only spit out once per builder.
7 years ago
Megan Marsh fbb3d526e3 move region validation to run so that we don't break validation when we don't have aws creds set
8 years ago
Megan Marsh 79862f1bbb
Merge pull request #6931 from hashicorp/fix_6919
8 years ago
Adrien Delorme 3f288fc6ca aws client: config.WithMaxRetries(8)
8 years ago
Mikhail Ushanov 4608b5d39d amazon: add option for skipping TLS verification
8 years ago
Adrien Delorme f4fbf45349 remove duplicate region check error
8 years ago
Adrien Delorme 16aa21dffe aws: better error handling of region guessing from metadata
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.
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