From cb27bf5f6efcac7f72133cba3175d79f40586bb1 Mon Sep 17 00:00:00 2001 From: ffppa Date: Fri, 28 Feb 2025 12:18:23 +0100 Subject: [PATCH] feat: [PAYMCLOUD-278] Enable cost analysis outside development environment (#2843) Enable cost analysis for non-development environments Cost analysis is now activated for all environments except development (env_short == "d"). This change ensures better monitoring and budgeting for UAT and PROD. The commented-out line was uncommented to implement this functionality. Signed-off-by: Fabio Felici --- src/aks-leonardo/03_aks_0.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/aks-leonardo/03_aks_0.tf b/src/aks-leonardo/03_aks_0.tf index 3f1006fda..c8a5d7524 100644 --- a/src/aks-leonardo/03_aks_0.tf +++ b/src/aks-leonardo/03_aks_0.tf @@ -21,7 +21,7 @@ module "aks_leonardo" { enable_prometheus_monitor_metrics = var.env_short != "p" ? true : false # ff: Enabled cost analysis on UAT/PROD - # cost_analysis_enabled = var.env_short != "d" ? true : false + cost_analysis_enabled = var.env_short != "d" ? true : false # # 🤖 System node pool