Managing and synchronizing dashboards via a user interface can be painful, especially when maintaining them for multiple environments or organizations in Dash0. We already support maintaining dashboards through the Dash0 Operator and starting today, you can alternatively use our Terraform provider.
main.tf123456781011121415161718terraform {required_providers {dash0 = {source = "dash0hq/dash0"version = "~> 1.0"}}}provider "dash0" {# No further configuration options}resource "dash0_dashboard" "my_dashboard" {dataset = "{{dataset}}"# You can download a dashboard's source yaml through the Dash0 UIdashboard_yaml = file("${path.module}/dashboard.yaml")}
Learn more about the Terraform provider, including necessary configuration settings, via our documentation.