Skip to content

Commit

Permalink
Correct var
Browse files Browse the repository at this point in the history
  • Loading branch information
BryanFauble committed Oct 25, 2024
1 parent 229693b commit 1762ba2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/signoz/main.tf
Original file line number Diff line number Diff line change
@@ -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" {
Expand Down Expand Up @@ -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}
Expand Down

0 comments on commit 1762ba2

Please sign in to comment.