From 1762ba208bf50de44e8e9212503b0567c2ca949d Mon Sep 17 00:00:00 2001 From: BryanFauble <17128019+BryanFauble@users.noreply.github.com> Date: Fri, 25 Oct 2024 14:19:43 -0700 Subject: [PATCH] Correct var --- modules/signoz/main.tf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/signoz/main.tf b/modules/signoz/main.tf index 0a25459f..69006146 100644 --- a/modules/signoz/main.tf +++ b/modules/signoz/main.tf @@ -1,5 +1,5 @@ locals { - alertmanager_enabled = var.smtp_from != "" && var.smtp_username != "" && var.smtp_password != "" + alertmanager_enabled = var.smtp_from != "" && var.smtp_user != "" && var.smtp_password != "" } resource "kubernetes_namespace" "signoz" { @@ -40,7 +40,7 @@ spec: - name: "alertmanager.additionalEnvs.ALERTMANAGER_SMTP_FROM" value: ${var.smtp_from} - name: "alertmanager.additionalEnvs.ALERTMANAGER_SMTP_AUTH_USERNAME" - value: ${var.smtp_username} + value: ${var.smtp_user} - name: "alertmanager.additionalEnvs.ALERTMANAGER_SMTP_AUTH_PASSWORD" value: ${var.smtp_password} %{else}