uptimeify_status_page_maintenance
Ressource uptimeify_status_page_maintenance: Beispiel, alle Attribute, Import.
A planned maintenance announced on one or more status pages, optionally for some of their components. It starts and ends by itself at scheduled_for/scheduled_until and notifies subscribers as configured; creating it announces it right away when notify_on_schedule is true. It does not silence monitor alerts (that is uptimeify_maintenance_window). Ending a running maintenance early and cancelling an upcoming one are lifecycle actions outside this resource (dashboard, API or MCP); a cancelled maintenance refuses further changes, so change the configuration only after removing or replacing it. Import with the numeric id or the public id.
Beispiel
resource "uptimeify_status_page_maintenance" "db_upgrade" {
title = "Database upgrade"
description = "The API is read-only for about 30 minutes."
scheduled_for = "2026-11-03T22:00:00+01:00"
scheduled_until = "2026-11-03T23:00:00+01:00"
status_page_ids = [tonumber(uptimeify_status_page.main.id)]
# Only these components show the maintenance; leave out for the whole page.
component_ids = [uptimeify_status_page_component.api.component_id]
reminder_minutes_before = 60
notify_on_start = true
}Schema
Pflichtfelder
scheduled_for(String) Start, RFC 3339 with offset. The configured spelling is kept while the instant is unchanged.scheduled_until(String) End, RFC 3339 with offset, afterscheduled_for.status_page_ids(Set of Number) Numeric ids of the status pages that show the maintenance, 1 to 10.title(String) Public headline, 1 to 200 characters.
Optional
component_ids(Set of Number) Numeric ids of affected components (component_idofuptimeify_status_page_component), each on one of the pages. Unset: the whole page.description(String) What happens and what visitors notice, up to 5000 characters.notify_on_complete(Boolean) Notify subscribers when it ends. Defaulttrue.notify_on_schedule(Boolean) Announce to subscribers when saved and again when the start moves. Defaulttrue.notify_on_start(Boolean) Notify subscribers when it begins. Defaultfalse.reminder_minutes_before(Number) Remind subscribers this many minutes before the start, 5 to 10080. Unset: no reminder.
Nur lesbar
cancelled_at(String) When it was cancelled, if it was.id(String) Numeric maintenance id.public_id(String)state(String)scheduled,in_progress,completedorcancelled, derived from the clock at the last read.
Import
Import geht so:
Mit tofu import bzw. terraform import, zum Beispiel:
# Numeric id or public id of the maintenance.
terraform import uptimeify_status_page_maintenance.db_upgrade 42