Skip to content

Commit

Permalink
Merge pull request #769 from josselin-c/master
Browse files Browse the repository at this point in the history
Aws client config: increase MaxRetries
  • Loading branch information
wongma7 authored Feb 24, 2021
2 parents 69535ad + 1ef44be commit dd696f1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/cloud/cloud.go
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,8 @@ func newEC2Cloud(region string) (Cloud, error) {
awsConfig := &aws.Config{
Region: aws.String(region),
CredentialsChainVerboseErrors: aws.Bool(true),
// Set MaxRetries to a high value. It will be "ovewritten" if context deadline comes sooner.
MaxRetries: aws.Int(8),
}

endpoint := os.Getenv("AWS_EC2_ENDPOINT")
Expand Down

0 comments on commit dd696f1

Please sign in to comment.