fix(terraform): comment out invalid pubsub mailto subscription
This commit is contained in:
parent
f7bf576b53
commit
b02d72455c
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user