-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test Azure outage alert #1459
Test Azure outage alert #1459
Conversation
Co-Authored-By: Samuel Aquino <[email protected]>
Co-Authored-By: Samuel Aquino <[email protected]>
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
@@ -28,6 +28,48 @@ resource "azurerm_monitor_action_group" "notify_slack_email" { | |||
} | |||
} | |||
|
|||
resource "azurerm_monitor_activity_log_alert" "azure_service_health_alert" { | |||
count = local.non_pr_environment ? 1 : 0 | |||
name = "cdcti-${var.environment}-azure-status-alert" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consider using a variable for the alert name prefix instead of hardcoding 'cdcti-' to maintain consistency and configurability across different environments. [important]
@@ -28,6 +28,48 @@ | |||
} | |||
} | |||
|
|||
resource "azurerm_monitor_activity_log_alert" "azure_service_health_alert" { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's recommended to add a tag to the new resource for better resource management and to align with the existing infrastructure as code practices. [important]
tags["security_steward"], | ||
tags["support_group"], | ||
tags["system"], | ||
tags["technical_steward"], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ensure that the 'ignore_changes' lifecycle policy is reviewed to confirm that it aligns with the operational requirements and does not inadvertently ignore important changes that should trigger updates. [medium]
PR Code Suggestions ✨Explore these optional code suggestions:
|
Quality Gate passedIssues Measures |
Add a PR title
Describe what changed in this PR at a high level.
Issue
Add a link to the issue here. Consider using
closing keywords
if the this PR isn't for a story (stories will be closed through different means).
Checklist
Note: You may remove items that are not applicable