From ad4e580a03a53c8febbee1ffb2a329e02e516fa0 Mon Sep 17 00:00:00 2001 From: stack72 Date: Tue, 6 Sep 2016 08:52:07 +0100 Subject: [PATCH] provider/aws: Bump `aws_elasticsearch_domain` timeout values Fixes #8541 The Update timeout and delete timeouts were a little short. Bumped them to 60 mins and 90 mins respectively. I have been on the receiving of the timeout for the Delete function --- builtin/providers/aws/resource_aws_elasticsearch_domain.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/builtin/providers/aws/resource_aws_elasticsearch_domain.go b/builtin/providers/aws/resource_aws_elasticsearch_domain.go index d680e435f..81e5b10c5 100644 --- a/builtin/providers/aws/resource_aws_elasticsearch_domain.go +++ b/builtin/providers/aws/resource_aws_elasticsearch_domain.go @@ -381,7 +381,7 @@ func resourceAwsElasticSearchDomainUpdate(d *schema.ResourceData, meta interface return err } - err = resource.Retry(50*time.Minute, func() *resource.RetryError { + err = resource.Retry(60*time.Minute, func() *resource.RetryError { out, err := conn.DescribeElasticsearchDomain(&elasticsearch.DescribeElasticsearchDomainInput{ DomainName: aws.String(d.Get("domain_name").(string)), }) @@ -417,7 +417,7 @@ func resourceAwsElasticSearchDomainDelete(d *schema.ResourceData, meta interface } log.Printf("[DEBUG] Waiting for ElasticSearch domain %q to be deleted", d.Get("domain_name").(string)) - err = resource.Retry(60*time.Minute, func() *resource.RetryError { + err = resource.Retry(90*time.Minute, func() *resource.RetryError { out, err := conn.DescribeElasticsearchDomain(&elasticsearch.DescribeElasticsearchDomainInput{ DomainName: aws.String(d.Get("domain_name").(string)), })