scaleway/grafana-dashboard
A `grafana_folder`/`grafana_dashboard` wrapper that creates a Grafana folder and provisions a set of dashboards into it from JSON dashboard models. See [ADR-0135](https://github.com/noisypigeon/noisypigeon/blob/main/docs/adr/0135-grafana-dashboards-as-code.md) for why a dedicated folder is required (Scaleway Cockpit's own preconfigured dashboards live in a folder that is always read-only) and how the `grafana` provider itself is authenticated against Cockpit (wired by the consuming leaf, not this module).
Usage
module "grafana_dashboard" {
source = "https://pigeon.dev/modules/scaleway/grafana-dashboard/v0.1.0"
folder_title = "pigeon-cli"
dashboards = {
overview = { config_json = file("${path.module}/dashboards/overview.json") }
}
}
Full inputs/outputs documentation is in the module's README on GitHub.
Versions
- v0.1.0 (latest)