Update and redeploy Terraform configuration
Making configuration changes through Terraform demonstrates the power of infrastructure as code. You can review, test, and apply changes with confidence, knowing every modification is tracked and reproducible.
To update and redeploy your configuration, complete the following steps:
Open the file
alerts_billing.tfin your text editor.Search for
is_paused = true.Change at least one alert to
is_paused = false:resource "grafana_rule_group" "billing_alerts" { name = "Billing Alerts" folder_uid = grafana_folder.it.uid interval_seconds = 300 rule { name = "High Cost Alert" condition = "A" is_paused = false // Changed from true // ...existing configuration... } }Review the changes Terraform will apply:
terraform planApply the configuration changes:
terraform applyWhen prompted, type
yesto confirm.Sign in to Grafana Cloud as an administrator.
Navigate to Alerting > Alert rules.
Open the Billing Alerts folder.
The previously paused alerts are now active and evaluating.
This workflow demonstrates the value of infrastructure as code. You can test alerts in development by pausing them, deploy to production, and enable them when ready—all through version-controlled configuration files.
In the next milestone, you’ll reach your destination and explore next steps.
