-
Notifications
You must be signed in to change notification settings - Fork 273
Description
Hi,
Currently datasource caching (Documentation) is not supported by the Provider.
We're moving to Enterprise instances and would like to enable Caching using Terraform. Asked Grafana about provisioning option and got this reply:
Hello,
Unfortunately as of now, is not possible to enable/disable cache for a datasource via provisioning, but there is an API you could programmatically call to enable it as part of your deployment:
/api/datasources/:datasourceUId/cache/enable
/api/datasources/:datasourceUId/cache/disable
These APIs are yet to be documented but you should be able to use them.
In regards of having this feature enabled as part of provisioning, I can certainly pass this over to our Voice of the Customer team to let them know you're interested in this.
Please let me know if you have any further questions or comments.
So the API supports it, can this be added to the data_source resources?
itsjusth, mhulscher, ethanmdavidson, ImTomEddy, KoenR3 and 6 more