From e773e59aaf09608a83caf042c6b645f372e040be Mon Sep 17 00:00:00 2001 From: Radek Simko Date: Thu, 11 May 2017 12:51:48 +0200 Subject: [PATCH] provider/aws: Increase EIP update timeout (#14381) --- builtin/providers/aws/resource_aws_eip.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builtin/providers/aws/resource_aws_eip.go b/builtin/providers/aws/resource_aws_eip.go index 5f52e8619..1cd136782 100644 --- a/builtin/providers/aws/resource_aws_eip.go +++ b/builtin/providers/aws/resource_aws_eip.go @@ -219,7 +219,7 @@ func resourceAwsEipUpdate(d *schema.ResourceData, meta interface{}) error { 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) if err != nil { if awsErr, ok := err.(awserr.Error); ok {