Skip to main content
Manages a saved project dashboard as code. The dashboard’s source file is kept beside your configuration, and every apply that changes the source or its files publishes the next revision. Destroying the resource deletes the dashboard. See Dashboards for what a dashboard file contains, example files, and how to check a file with sazabi dashboards validate. A change made to the dashboard outside Terraform shows up in the next plan, and the next apply replaces it with your configuration. If the dashboard changes between your plan and apply, the apply or destroy stops with a conflict instead of overwriting it; run it again.

Example

Arguments

Import

Import by <project-id>/<dashboard-id>. With a secret key scoped to a single project, the dashboard ID alone also works.