cloudposse / terraform-aws-elasticsearch

Terraform module to provision an Elasticsearch cluster with built-in integrations with Kibana and Logstash.
https://cloudposse.com/accelerate
Apache License 2.0
216 stars 231 forks source link

Allow configuring timeouts for aws_elasticsearch_domain #146

Open amontalban opened 1 year ago

amontalban commented 1 year ago

Describe the Feature

Would be great to have create/update/delete timeouts for aws_elasticsearch_domain so upgrades do not timeout when applying them with Terraform.

Expected Behavior

Terraform should complete when doing upgrades from Elasticsearch 7.10 -> OpenSearch 1.3 (In certain cases this can take several minutes).

Use Case

We are in the process of upgrading several Elasticsearch clusters to OpenSearch, so running all this with Terraform would be ideal instead of using AWS Console.

Describe Ideal Solution

Ideally, timeouts should be configurable so each user can define the ones that are aligned to their case.

Alternatives Considered

Explain what alternative solutions or features you've considered.

Additional Context

Add any other context or screenshots about the feature request here.