diff --git a/modules/alerting/README.md b/modules/alerting/README.md
index 72e71820..90902a35 100644
--- a/modules/alerting/README.md
+++ b/modules/alerting/README.md
@@ -48,6 +48,7 @@ No modules.
| [failure\_rate\_ratio\_threshold](#input\_failure\_rate\_ratio\_threshold) | ratio threshold to alert for cloud run server failure rate. | `number` | `0.2` | no |
| [notification\_channel\_email](#input\_notification\_channel\_email) | Email notification channel. | `string` | `""` | no |
| [notification\_channel\_pagerduty](#input\_notification\_channel\_pagerduty) | Email notification channel. | `string` | `""` | no |
+| [notification\_channel\_pubsub](#input\_notification\_channel\_pubsub) | Pubsub notification channel. | `string` | `""` | no |
| [notification\_channel\_slack](#input\_notification\_channel\_slack) | Slack notification channel. | `string` | `""` | no |
| [notification\_channels](#input\_notification\_channels) | List of notification channels to alert. | `list(string)` | `[]` | no |
| [oom\_filter](#input\_oom\_filter) | additional filter to apply to oom alert policy | `string` | `""` | no |
@@ -55,6 +56,7 @@ No modules.
| [project\_id](#input\_project\_id) | n/a | `string` | n/a | yes |
| [scaling\_issue\_filter](#input\_scaling\_issue\_filter) | additional filter to apply to scaling issue alert policy | `string` | `""` | no |
| [signal\_filter](#input\_signal\_filter) | additional filter to apply to signal alert policy | `string` | `""` | no |
+| [squad](#input\_squad) | squad to filter on if non-empty | `string` | `""` | no |
| [timeout\_filter](#input\_timeout\_filter) | additional filter to apply to timeout alert policy | `string` | `""` | no |
## Outputs
diff --git a/modules/alerting/main.tf b/modules/alerting/main.tf
index 33523e32..8db2a973 100644
--- a/modules/alerting/main.tf
+++ b/modules/alerting/main.tf
@@ -1,12 +1,14 @@
locals {
oncall = [
var.notification_channel_pagerduty,
- var.notification_channel_email
+ var.notification_channel_email,
+ var.notification_channel_pubsub
]
slack = [
var.notification_channel_slack,
- var.notification_channel_email
+ var.notification_channel_email,
+ var.notification_channel_pubsub
]
}
diff --git a/modules/alerting/variables.tf b/modules/alerting/variables.tf
index 587a77eb..7d26e5d1 100644
--- a/modules/alerting/variables.tf
+++ b/modules/alerting/variables.tf
@@ -26,6 +26,12 @@ variable "notification_channel_email" {
default = ""
}
+variable "notification_channel_pubsub" {
+ description = "Pubsub notification channel."
+ type = string
+ default = ""
+}
+
variable "oom_filter" {
description = "additional filter to apply to oom alert policy"
type = string