Alerting: Use expected field name for receiver in HCL export (#87065)

* Use expected field name for receiver in hcl

Terraform provider expects `contact_point` instead of `receiver` in
notification settings on a rule.
This commit is contained in:
William Wernert
2024-04-29 13:13:29 -04:00
committed by GitHub
parent 3845033308
commit 70ff229bed
3 changed files with 4 additions and 3 deletions

View File

@@ -694,7 +694,7 @@ func TestProvisioningApi(t *testing.T) {
is_paused = false
notification_settings {
receiver = "Test-Receiver"
contact_point = "Test-Receiver"
group_by = ["alertname", "grafana_folder", "test"]
group_wait = "1s"
group_interval = "5s"