provider/aws: Bump ElasticSearch domain delete time to match create time. Should help test pass
This commit is contained in:
parent
3044cc5c38
commit
b9f512e0cf
|
@ -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)),
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue