Add dashboard UID auto-generation and Gitea CI workflow
Some checks failed
terraform-dev / validate (push) Failing after 1m53s
terraform-dev / plan (push) Has been skipped
terraform-dev / apply (push) Has been skipped

This commit is contained in:
Alexandr
2026-03-25 06:41:19 +03:00
parent 345c5786b3
commit 558a23d916
83 changed files with 53372 additions and 1 deletions

View File

@ -0,0 +1,17 @@
output "datasource_mapping" {
description = "Mapping of data source names to their UIDs across all datasource categories"
value = merge(
{
for ds in grafana_data_source.datasources_ignore_and_protect : ds.name => ds.uid if ds.id != null
},
{
for ds in grafana_data_source.datasources_ignore_only : ds.name => ds.uid if ds.id != null
},
{
for ds in grafana_data_source.datasources_protect_only : ds.name => ds.uid if ds.id != null
},
{
for ds in grafana_data_source.datasources_standard : ds.name => ds.uid if ds.id != null
}
)
}