builder/amazon: Use service default retries.
Each service has its own preconfigured number of times to retry. Lets use that instead of setting a global number.
This commit is contained in:
parent
d2f9fd1afc
commit
e483087574
|
@ -96,7 +96,7 @@ func (c *AccessConfig) Session() (*session.Session, error) {
|
|||
|
||||
creds := credentials.NewChainCredentials(providers)
|
||||
|
||||
config := aws.NewConfig().WithMaxRetries(11).WithCredentialsChainVerboseErrors(true)
|
||||
config := aws.NewConfig().WithCredentialsChainVerboseErrors(true)
|
||||
|
||||
if c.RawRegion != "" {
|
||||
config = config.WithRegion(c.RawRegion)
|
||||
|
|
Loading…
Reference in New Issue