From 2e352ba4d6ba01881df3d5f62dedd9eee2000afb Mon Sep 17 00:00:00 2001 From: Julien Duchesne Date: Fri, 26 Jan 2024 03:16:45 -0500 Subject: [PATCH] Docs(alerting): Document the `disable_provenance` attribute (#81290) We no longer need to pass a http header --- .../view-provisioned-resources/index.md | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/docs/sources/alerting/set-up/provision-alerting-resources/view-provisioned-resources/index.md b/docs/sources/alerting/set-up/provision-alerting-resources/view-provisioned-resources/index.md index 5edb960bffc..ea434acf65c 100644 --- a/docs/sources/alerting/set-up/provision-alerting-resources/view-provisioned-resources/index.md +++ b/docs/sources/alerting/set-up/provision-alerting-resources/view-provisioned-resources/index.md @@ -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 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" { url = "http://grafana.example.com/" auth = var.grafana_auth - http_headers = { - "X-Disable-Provenance" = "true" - } +} + +resource "grafana_mute_timing" "mute_all" { + name = "mute all" + disable_provenance = true + intervals {} } ```