many things
Some checks failed
/ non-lab (push) Failing after 12m13s

This commit is contained in:
Chris Cowley 2025-02-19 10:59:18 +00:00
parent 846fca77c1
commit d908078ee6
51 changed files with 4649 additions and 276 deletions

20
grafana/dashboards.tf Normal file
View file

@ -0,0 +1,20 @@
resource "grafana_folder" "HomeAssistant" {
title = "Home Assistant"
}
resource "grafana_dashboard" "HomeEnergy" {
for_each = fileset("${path.module}/dashboards/HASS", "*.json")
config_json = file("${path.module}/dashboards/HASS/${each.key}")
folder = grafana_folder.HomeAssistant.id
}
resource "grafana_folder" "Kubernetes" {
title = "Kubernetes"
}
resource "grafana_dashboard" "Kubernetes" {
for_each = fileset("${path.module}/dashboards/kubernetes", "*.json")
config_json = file("${path.module}/dashboards/kubernetes/${each.key}")
folder = grafana_folder.Kubernetes.id
}