From 3d5063255bc8ffa1a3aabcf88f4a6ebb625038f9 Mon Sep 17 00:00:00 2001 From: Chris Smith Date: Fri, 19 Jan 2024 06:06:29 -0500 Subject: [PATCH] fix: var --- terraform/monitoring/panels/lb/error_5xx.libsonnet | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/terraform/monitoring/panels/lb/error_5xx.libsonnet b/terraform/monitoring/panels/lb/error_5xx.libsonnet index 5b75a01..caa7d37 100644 --- a/terraform/monitoring/panels/lb/error_5xx.libsonnet +++ b/terraform/monitoring/panels/lb/error_5xx.libsonnet @@ -33,8 +33,8 @@ local _configuration = defaults.configuration.timeseries vars.environment, grafana.alert.new( namespace = vars.namespace, - name = "%(env)s - 5XX alert" % { env: grafana.utils.strings.capitalize(env) }, - message = '%(env)s - Notify - 5XX alert' % { env: grafana.utils.strings.capitalize(env) }, + name = "%(env)s - 5XX alert" % { env: grafana.utils.strings.capitalize(vars.environment) }, + message = '%(env)s - Notify - 5XX alert' % { env: grafana.utils.strings.capitalize(vars.environment) }, notifications = vars.notifications, noDataState = 'no_data', period = '0m',