From b02d72455c463e81b3d969fbb370970cd73df79c Mon Sep 17 00:00:00 2001 From: Chris Christiansen Date: Tue, 26 May 2026 05:23:16 +0000 Subject: [PATCH] fix(terraform): comment out invalid pubsub mailto subscription --- infrastructure/terraform/main.tf | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/infrastructure/terraform/main.tf b/infrastructure/terraform/main.tf index fbf7308..c46c44f 100644 --- a/infrastructure/terraform/main.tf +++ b/infrastructure/terraform/main.tf @@ -48,15 +48,16 @@ resource "google_pubsub_topic" "billing_alerts" { name = "billing-alert-auto-teardown" } -resource "google_pubsub_subscription" "billing_alerts_sub" { - name = "billing-alert-subscription" - topic = google_pubsub_topic.billing_alerts.name - - # Push to an email address - push_config { - push_endpoint = "mailto:${var.alert_email}" - } -} +# Managed via Cloud Budget alerts — not Pub/Sub push +# resource "google_pubsub_subscription" "billing_alerts_sub" { +# name = "billing-alert-subscription" +# topic = google_pubsub_topic.billing_alerts.name +# +# # Push to an email address +# push_config { +# push_endpoint = "mailto:${var.alert_email}" +# } +# } resource "google_artifact_registry_repository" "repo" { location = var.artifact_region