grafana / terraform-provider-grafana

Terraform Grafana provider
https://www.terraform.io/docs/providers/grafana/
Mozilla Public License 2.0
430 stars 228 forks source link

JSON Datasource lack of flexibility #197

Closed aymericDD closed 2 years ago

aymericDD commented 3 years ago

Why json_data and json_secure_data attribute of datasource ressource is not managed like config_json attribute of dashboard ressource ? When a data source comes from a plugin (like zabbix) we cannot managed it with Terraform and if a datasource has new attributes we have to create a PR to update its Terraform schema.

julienduchesne commented 2 years ago

Grafana 8.4.0 has a full OpenAPI spec. So it's very likely we'll switch over to a fully generated client 🔜 . At that point, the datasource will probably be refactored a bit and support arbitrary data

FrancoCorleone commented 2 years ago

any news on that? I just hit this limitation with timestream plugin for Managed Grafana Service

inkel commented 2 years ago

@FrancoCorleone hi! We still haven't planned the feature for supporting arbitrary data, sorry.

FrancoCorleone commented 2 years ago

@inkel any way I can work around this limitation?

inkel commented 2 years ago

Not that I know of at the moment, sorry.