grafana / crossplane-provider-grafana

Crossplane provider of https://github.com/grafana/terraform-provider-grafana. Generated by https://github.com/upbound/upjet
Apache License 2.0
26 stars 14 forks source link

how to pass `X-Disable-Provenance` header to the provisioning api #31

Closed cheskayang closed 7 months ago

cheskayang commented 1 year ago

first of all, thx for offering this provider. looks like in the tf provider from which is generated, it's possible to set an X-Disable-Provenance(see https://registry.terraform.io/providers/grafana/grafana/1.39.0/docs#http_headers) , which will allow writing from UI on the resources provisioned.

is not clear from the crossplane provider doc, where can this be added? Is it in the auth secret?

julienduchesne commented 7 months ago

We're fixing this by adding the disableProvenance attribute on alerting resources. In next version, released within the next hour, all resources are done except contact point. That one will come in the version after