Managing Grafana Cloud Synthetic Monitoring checks manually in the UI becomes error-prone at scale. Using Terraform to define checks as code enables version control, consistent configurations across environments, and CI/CD integration. The workflow involves prototyping a check in the Grafana UI, generating an access token and API endpoint URL, configuring the Terraform provider, exporting the check as HCL, and then using terraform apply to deploy and manage updates. Once Terraform owns the state, UI edits should be avoided to prevent configuration drift.

5m read timeFrom grafana.com
Post cover image
Table of contents
Why manage checks as code?The Terraform workflow for synthetic monitoring checks

Sort: