-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvariables.tf
More file actions
28 lines (25 loc) · 1.13 KB
/
variables.tf
File metadata and controls
28 lines (25 loc) · 1.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
variable "project_id" {
description = "The Google Cloud project ID where logging exclusions will be created"
type = string
}
variable "notification_channels" {
description = "List of notification channel IDs to notify when an alert is triggered"
type = list(string)
default = []
}
variable "kyverno" {
description = "Configuration for Kyverno monitoring alerts. Allows customization of cluster name, project, notification channels, alert documentation, metric thresholds, auto-close timing, enablement, extra filters, and namespace."
type = object({
enabled = optional(bool, true)
project_id = optional(string, null)
cluster_name = string
namespace = optional(string, "kyverno")
notification_enabled = optional(bool, true)
notification_channels = optional(list(string), [])
alert_documentation = optional(string, null)
metric_threshold_count = optional(number, 2)
metric_lookback_minutes = optional(number, 1)
auto_close_seconds = optional(number, 3600)
filter_extra = optional(string, "")
})
}