provider/aws: Bump ElasticSearch domain delete time to match create time. Should help test pass

This commit is contained in:
clint shryock 2016-06-06 11:13:48 -05:00
parent 3044cc5c38
commit b9f512e0cf
1 changed files with 1 additions and 1 deletions

View File

@ -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)) 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{ out, err := conn.DescribeElasticsearchDomain(&elasticsearch.DescribeElasticsearchDomainInput{
DomainName: aws.String(d.Get("domain_name").(string)), DomainName: aws.String(d.Get("domain_name").(string)),
}) })