Skip to content

Commit e4c7be7

Browse files
authored
Fix: grafana terraform import (#998)
* wip * Add csi-s3 and have portainer use it * Change request @Hrytsuk 1GB max portainer volume size * Arch Linux Certificates Customization * Read dashboard json * wip --------- Co-authored-by: Dustin Kaiser <[email protected]>
1 parent 9c0d892 commit e4c7be7

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)