pagerduty_maintenance_window

A maintenance window is used to temporarily disable one or more services for a set period of time. No incidents will be triggered and no notifications will be received while a service is disabled by a maintenance window.

Maintenance windows are specified to start at a certain time and end after they have begun. Once started, a maintenance window cannot be deleted; it can only be ended immediately to re-enable the service.

Example Usage

resource "pagerduty_maintenance_window" "example" {
  start_time  = "2015-11-09T20:00:00-05:00"
  end_time    = "2015-11-09T22:00:00-05:00"
  services    = [pagerduty_service.example.id]
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:

Import

Maintenance windows can be imported using the id, e.g.

$ terraform import pagerduty_maintenance_window.main PLBP09X