May 5, 2025

Contributors

Dash0 Terraform Provider

Dash0 now supports a Terraform provider to manage your configuration as code.

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.tf
123456781011121415161718
terraform {
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 UI
dashboard_yaml = file("${path.module}/dashboard.yaml")
}

Learn more about the Terraform provider, including necessary configuration settings, via our documentation.