rollback
This commit is contained in:
@@ -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}"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user