Create a maintenance window in Opsgenie

From wikieduonline
Revision as of 12:11, 1 October 2024 by Welcome (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
resource "opsgenie_maintenance" "maintenance_window" {
  name        = "Environment Maintenance Window"
  description = "Suppress alerts during scheduled maintenance for the environment"
  timezone    = "UTC"

  time_restriction {
    type         = "custom"
    start_date   = "2024-10-01T10:00:00Z"  # Set your maintenance start date
    end_date     = "2024-10-01T12:00:00Z"  # Set your maintenance end date
    weekdays     = ["Monday", "Tuesday"]   # Specify the days you want this to apply
  }

  team_ids = [opsgenie_team.example_team.id]  # Reference your Opsgenie team
}


Activities[edit]

Related[edit]

See also[edit]

Advertising: