I am unable to setup auto_tune for ES using the provided documentation. Whenever I run terraform plan I get following error.
An input variable with the name "auto_tune_cron_schedule" has not been declared. This variable can be declared with a variable "auto_tune_cron_schedule" {} block.
Upon checking the main.tf file on this repo, it was referring to auto_tune_cron_schedule variable and when I checked variables.tf, I didn't find that variable. I believe someone should check the line 182 on main.tf.
Describe the Bug
I am unable to setup auto_tune for ES using the provided documentation. Whenever I run
terraform plan
I get following error.An input variable with the name "auto_tune_cron_schedule" has not been declared. This variable can be declared with a variable "auto_tune_cron_schedule" {} block.
Upon checking the main.tf file on this repo, it was referring to auto_tune_cron_schedule variable and when I checked variables.tf, I didn't find that variable. I believe someone should check the line 182 on main.tf.
Currently, it is as follows:
cron_expression_for_recurrence = var.auto_tune_cron_schedule
Expected Behavior
I think should be as follows (if I am not mistaken)
cron_expression_for_recurrence = var.auto_tune.cron_schedule
Also, What is the proper way to define the cron expression for auto_tune. I checked the documentation but didn't find any examples for it.
Steps to Reproduce
Screenshots
No response
Environment
No response
Additional Context
No response