From ce6228d6f2d83e5f1b818d99bbe80490646932ea Mon Sep 17 00:00:00 2001 From: Kochetkov S Date: Tue, 11 Aug 2026 15:18:38 +0300 Subject: [PATCH] ++ trimspace kafka sasl mechanism, gitea var had trailing space --- live/terragrunt.hcl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/live/terragrunt.hcl b/live/terragrunt.hcl index 4d409d1..faef781 100644 --- a/live/terragrunt.hcl +++ b/live/terragrunt.hcl @@ -103,8 +103,8 @@ provider "kafka" { ${get_env("KAFKA_CA_CERT", "")} EOT %{endif~} -%{if get_env("KAFKA_SASL_MECHANISM", "plain") != "none"~} - sasl_mechanism = "${get_env("KAFKA_SASL_MECHANISM", "plain")}" +%{if trimspace(get_env("KAFKA_SASL_MECHANISM", "plain")) != "none"~} + sasl_mechanism = "${trimspace(get_env("KAFKA_SASL_MECHANISM", "plain"))}" sasl_username = "${get_env("KAFKA_ADMIN_USER", "inter_broker_user")}" sasl_password = "${get_env("KAFKA_ADMIN_PASSWORD", "")}" %{endif~}