Docs(alerting): Document the disable_provenance attribute (#81290)

We no longer need to pass a http header
This commit is contained in:
Julien Duchesne
2024-01-26 03:16:45 -05:00
committed by GitHub
parent b1d1aa667a
commit 2e352ba4d6

View File

@ -88,15 +88,18 @@ To enable editing of API-provisioned resources in the Grafana UI, add the `X-Dis
To reset the notification policy tree to the default and unlock it for editing in the Grafana UI, use the `DELETE /api/v1/provisioning/policies` endpoint. To reset the notification policy tree to the default and unlock it for editing in the Grafana UI, use the `DELETE /api/v1/provisioning/policies` endpoint.
To pass the `X-Disable-Provenance` header from Terraform, add it to the `http_headers` field on the provider object: In Terraform, you can use the `disable_provenance` attribute on alerting resources:
``` ```
provider "grafana" { provider "grafana" {
url = "http://grafana.example.com/" url = "http://grafana.example.com/"
auth = var.grafana_auth auth = var.grafana_auth
http_headers = { }
"X-Disable-Provenance" = "true"
} resource "grafana_mute_timing" "mute_all" {
name = "mute all"
disable_provenance = true
intervals {}
} }
``` ```