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
This commit is contained in:
parent
da5b024271
commit
ad4e580a03
|
@ -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)),
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue