From b9f512e0cf820579336f282b9075c3b0e8344d07 Mon Sep 17 00:00:00 2001 From: clint shryock Date: Mon, 6 Jun 2016 11:13:48 -0500 Subject: [PATCH] provider/aws: Bump ElasticSearch domain delete time to match create time. Should help test pass --- builtin/providers/aws/resource_aws_elasticsearch_domain.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builtin/providers/aws/resource_aws_elasticsearch_domain.go b/builtin/providers/aws/resource_aws_elasticsearch_domain.go index 372b0e3bb..f2e7d8c7d 100644 --- a/builtin/providers/aws/resource_aws_elasticsearch_domain.go +++ b/builtin/providers/aws/resource_aws_elasticsearch_domain.go @@ -403,7 +403,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(15*time.Minute, func() *resource.RetryError { + err = resource.Retry(30*time.Minute, func() *resource.RetryError { out, err := conn.DescribeElasticsearchDomain(&elasticsearch.DescribeElasticsearchDomainInput{ DomainName: aws.String(d.Get("domain_name").(string)), })