Difference between revisions of "Create a maintenance window in Opsgenie"
Jump to navigation
Jump to search
Line 17: | Line 17: | ||
== Activities == | == Activities == | ||
+ | * [[Opsgenie create alert]] | ||
* [[Suppress alerts for HealthChecks during releases]] | * [[Suppress alerts for HealthChecks during releases]] | ||
Revision as of 10:10, 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
Related
See also
Advertising: