From 02b37c5958accab954961ecd6d319465b7f0c7d2 Mon Sep 17 00:00:00 2001 From: Ludovico Magnocavallo Date: Wed, 17 Sep 2025 08:59:18 +0200 Subject: [PATCH] Fix alert variable notification prompts type in project module (#3330) --- modules/project/README.md | 2 +- modules/project/variables-observability.tf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/project/README.md b/modules/project/README.md index 412fa86c4..02cd0334c 100644 --- a/modules/project/README.md +++ b/modules/project/README.md @@ -1801,7 +1801,7 @@ alerts: | name | description | type | required | default | |---|---|:---:|:---:|:---:| | [name](variables.tf#L130) | Project name and id suffix. | string | ✓ | | -| [alerts](variables-observability.tf#L17) | Monitoring alerts. | map(object({…})) | | {} | +| [alerts](variables-observability.tf#L17) | Monitoring alerts. | map(object({…})) | | {} | | [auto_create_network](variables.tf#L17) | Whether to create the default network for the project. | bool | | false | | [billing_account](variables.tf#L23) | Billing account id. | string | | null | | [compute_metadata](variables.tf#L29) | Optional compute metadata key/values. Only usable if compute API has been enabled. | map(string) | | {} | diff --git a/modules/project/variables-observability.tf b/modules/project/variables-observability.tf index 5eebaf6f0..e35899ea9 100644 --- a/modules/project/variables-observability.tf +++ b/modules/project/variables-observability.tf @@ -25,7 +25,7 @@ variable "alerts" { user_labels = optional(map(string)) alert_strategy = optional(object({ auto_close = optional(string) - notification_prompts = optional(string) + notification_prompts = optional(list(string)) notification_rate_limit = optional(object({ period = optional(string) }))