lgallard/terraform-aws-elasticsearch

Support for auto_tune_options

flowinh2o opened this issue · 2 comments

Would be great to see this in the module since it looks there is support now for this https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/elasticsearch_domain#auto_tune_options.

An example of the variable would be:

auto_tune_options {
    maintenance_schedule = {
      cron_expression_for_recurrence = "cron(0 2 ? * 1 *)"
      start_at                       = "2022-09-08T16:47:06Z"

      duration {
          unit  = "HOURS"
          value = 2
        }
    }
  }

Thanks!

@flowinh2o working on that!!

Thank you @lgallard! I started trying to implement this but got side tracked. Here is what I have so far if you want any of it.

master...flowinh2o:terraform-aws-elasticsearch:master