Difference between revisions of "Create a maintenance window in Opsgenie"

From wikieduonline
Jump to navigation Jump to search
(Created page with " resource "opsgenie_maintenance" "maintenance_window" { name = "Environment Maintenance Window" description = "Suppress alerts during scheduled maintenance for th...")
 
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
  resource "opsgenie_maintenance" "maintenance_window" {
+
  resource "[[opsgenie_maintenance]]" "maintenance_window" {
 
   name        = "Environment Maintenance Window"
 
   name        = "Environment Maintenance Window"
 
   description = "Suppress alerts during scheduled maintenance for the environment"
 
   description = "Suppress alerts during scheduled maintenance for the environment"
Line 16: Line 16:
  
  
 
+
== Activities ==
 +
* [[Opsgenie create alert]]
 +
* [[Suppress alerts for HealthChecks during releases]]
  
 
== Related ==
 
== Related ==

Latest revision as of 12:11, 1 October 2024

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: