mirror of
https://github.com/hashicorp/packer.git
synced 2026-05-28 04:35:38 -04:00
aws client: config.WithMaxRetries(8)
This commit is contained in:
parent
f4fbf45349
commit
3f288fc6ca
1 changed files with 2 additions and 1 deletions
|
|
@ -48,7 +48,8 @@ func (c *AccessConfig) Session() (*session.Session, error) {
|
|||
}
|
||||
|
||||
// default is 3, and when it was causing failures for users being throttled
|
||||
config = config.WithMaxRetries(20)
|
||||
// retries are exponentially backed off.
|
||||
config = config.WithMaxRetries(8)
|
||||
|
||||
region, err := c.region()
|
||||
if err != nil {
|
||||
|
|
|
|||
Loading…
Reference in a new issue