mirror of
https://github.com/hashicorp/packer.git
synced 2026-05-28 04:35:38 -04:00
aws: set max retries back to 20
This commit is contained in:
parent
4fef738363
commit
4f1ed08f19
1 changed files with 2 additions and 2 deletions
|
|
@ -15,7 +15,7 @@ import (
|
|||
"github.com/aws/aws-sdk-go/aws/session"
|
||||
"github.com/aws/aws-sdk-go/service/ec2"
|
||||
"github.com/aws/aws-sdk-go/service/ec2/ec2iface"
|
||||
"github.com/hashicorp/go-cleanhttp"
|
||||
cleanhttp "github.com/hashicorp/go-cleanhttp"
|
||||
"github.com/hashicorp/packer/template/interpolate"
|
||||
)
|
||||
|
||||
|
|
@ -52,7 +52,7 @@ func (c *AccessConfig) Session() (*session.Session, error) {
|
|||
|
||||
// default is 3, and when it was causing failures for users being throttled
|
||||
// retries are exponentially backed off.
|
||||
config = config.WithMaxRetries(8)
|
||||
config = config.WithMaxRetries(20)
|
||||
|
||||
region, err := c.region()
|
||||
if err != nil {
|
||||
|
|
|
|||
Loading…
Reference in a new issue