A holiday describes time periods where a time series is expected to behave differently to normal.
To use a holiday in a job, use its id in the holidays
attribute of a grafana_machine_learning_job
:
resource "grafana_machine_learning_job" "test_job" {
...
holidays = [
grafana_machine_learning_holiday.my_holiday.id
]
}
name
(String) The name of the holiday.custom_periods
(Block List) A list of custom periods for the holiday. (see below for nested schema)description
(String) A description of the holiday.ical_timezone
(String) The timezone to use for events in the iCal file pointed to by ical_url.ical_url
(String) A URL to an iCal file containing all occurrences of the holiday.id
(String) The ID of the holiday.custom_periods
Required:
end_time
(String)start_time
(String)Optional:
name
(String) The name of the custom period.Import is supported using the following syntax:
terraform import grafana_machine_learning_holiday.name "{{ id }}"