diff --git a/store/shared.go b/store/shared.go index 63a5f6ec..11563e89 100644 --- a/store/shared.go +++ b/store/shared.go @@ -21,7 +21,8 @@ func getSession(numRetries int) (*session.Session, *string) { retSession := session.Must(session.NewSessionWithOptions( session.Options{ Config: aws.Config{ - Region: region, + Region: region, + MaxRetries: aws.Int(numRetries), }, SharedConfigState: session.SharedConfigEnable, },