Difference between revisions of "Create a maintenance window in Opsgenie"
Jump to navigation
Jump to search
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" |
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: