Create a maintenance window in Opsgenie
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
Related
See also
Advertising: