Skip to content

Commit

Permalink
Use unique names
Browse files Browse the repository at this point in the history
  • Loading branch information
codysoyland committed Sep 15, 2023
1 parent 6c87695 commit 7203242
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions terraform/gcp/modules/monitoring/infra/alerts.tf
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ resource "google_monitoring_alert_policy" "ssl_cert_expiry_alert" {
### Cloud SQL Alerts

# Cloud SQL Database CPU Utilization > 80%
resource "google_monitoring_alert_policy" "cloud_sql_cpu_utilization" {
resource "google_monitoring_alert_policy" "cloud_sql_cpu_utilization_warning" {
# In the absence of data, incident will auto-close in 7 days
alert_strategy {
auto_close = "604800s"
Expand Down Expand Up @@ -142,7 +142,7 @@ resource "google_monitoring_alert_policy" "cloud_sql_cpu_utilization" {


# Cloud SQL Database Memory Utilization > 80%
resource "google_monitoring_alert_policy" "cloud_sql_memory_utilization" {
resource "google_monitoring_alert_policy" "cloud_sql_memory_utilization_warning" {
# In the absence of data, incident will auto-close in 7 days
alert_strategy {
auto_close = "604800s"
Expand Down

0 comments on commit 7203242

Please sign in to comment.