provider/aws: Increase EIP update timeout (#14381)
This commit is contained in:
parent
a846b1b3b0
commit
e773e59aaf
|
@ -219,7 +219,7 @@ func resourceAwsEipUpdate(d *schema.ResourceData, meta interface{}) error {
|
||||||
|
|
||||||
log.Printf("[DEBUG] EIP associate configuration: %s (domain: %s)", assocOpts, domain)
|
log.Printf("[DEBUG] EIP associate configuration: %s (domain: %s)", assocOpts, domain)
|
||||||
|
|
||||||
err := resource.Retry(1*time.Minute, func() *resource.RetryError {
|
err := resource.Retry(5*time.Minute, func() *resource.RetryError {
|
||||||
_, err := ec2conn.AssociateAddress(assocOpts)
|
_, err := ec2conn.AssociateAddress(assocOpts)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
if awsErr, ok := err.(awserr.Error); ok {
|
if awsErr, ok := err.(awserr.Error); ok {
|
||||||
|
|
Loading…
Reference in New Issue