File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ resource "google_monitoring_alert_policy" "typesense_pod_restart" {
6464 notification_channels = local. typesense_notification_channels
6565
6666 alert_strategy {
67- auto_close = " 300s "
67+ auto_close = " ${ var . typesense . container_checks . pod_restart . auto_close_seconds } s "
6868 }
6969}
7070
Original file line number Diff line number Diff line change @@ -124,10 +124,11 @@ variable "typesense" {
124124 threshold = optional (number , 0 )
125125 alignment_period = optional (string , " 120s" )
126126 duration = optional (string , " 0s" )
127+ auto_close_seconds = optional (number , 3600 )
127128 }), {})
128129 oom_killed = optional (object ({
129130 notification_rate_limit = optional (string , " 120s" )
130- auto_close_seconds = optional (number , 300 )
131+ auto_close_seconds = optional (number , 3600 )
131132 }), {})
132133 }), null )
133134 })
You can’t perform that action at this time.
0 commit comments