From e07adf71c1084a6b9f2c0c5ab5d6c35d158e532b Mon Sep 17 00:00:00 2001 From: Ludo Date: Thu, 9 Jan 2025 16:43:56 +0100 Subject: [PATCH] rollback --- fast/stages/2-networking-c-separate-envs/monitoring.tf | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/fast/stages/2-networking-c-separate-envs/monitoring.tf b/fast/stages/2-networking-c-separate-envs/monitoring.tf index dbf014966..d3750fee0 100644 --- a/fast/stages/2-networking-c-separate-envs/monitoring.tf +++ b/fast/stages/2-networking-c-separate-envs/monitoring.tf @@ -17,10 +17,11 @@ # tfdoc:file:description Network monitoring dashboards. locals { - dashboard_files = fileset(var.factories_config.dashboards, "*.json") + dashboard_path = "${var.factories_config.data_dir}/dashboards" + dashboard_files = fileset(local.dashboard_path, "*.json") dashboards = { for filename in local.dashboard_files : - filename => "${var.factories_config.dashboards}/${filename}" + filename => "${local.dashboard_path}/${filename}" } }