diff --git a/main.tf b/main.tf index a11580e..ebf17c8 100644 --- a/main.tf +++ b/main.tf @@ -179,7 +179,7 @@ resource "aws_elasticsearch_domain" "default" { value = var.auto_tune.duration unit = "HOURS" } - cron_expression_for_recurrence = var.auto_tune_cron_schedule + cron_expression_for_recurrence = var.auto_tune.cron_schedule } } } @@ -321,4 +321,4 @@ module "kibana_hostname" { records = [join("", aws_elasticsearch_domain.default[*].endpoint)] context = module.this.context -} \ No newline at end of file +}