Skip to content

Commit f790c7b

Browse files
committed
Read dashboard json
1 parent 4a653ef commit f790c7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

services/monitoring/grafana/terraform/dashboards.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,6 @@ resource "grafana_dashboard" "dashboards" {
3030
]]
3131
))
3232
# CSV approach
33-
config_json = jsonencode(jsondecode(file(split(",", each.value)[1])).dashboard)
33+
config_json = jsonencode(jsondecode(file(split(",", each.value)[1])))
3434
folder = grafana_folder.subfolders[split(",", each.value)[0]].id
3535
}

0 commit comments

Comments
 (0)