Closed oliviermichaelis closed 1 month ago
changed the read_only
field in the database from 1
to 0
with:
UPDATE data_source SET read_only = 0 WHERE uid = ABC123;
I would propose that the provider warns or prevents importing a data source that is set to read_only :)
Yeah, that's a good idea. In that case, a user should use the datasource (data.grafana_data_source
) 👍.
Terraform Version
OpenTofu 1.7.0
Terraform Grafana Provider Version
3.4.0
Grafana Version
v11.0.0
Affected Resource(s)
grafana_data_source
Terraform Configuration Files
This Prometheus data source was initially provisioned by another data source. I then imported it into another state with the following config:
Expected Behavior
After importing it, I expect to be able to update the data source.
Actual Behavior
When changing the
grafana_data_source
, for example by changing theis_default
argument:and run
tofu apply
I getSteps to Reproduce
No response
Important Factoids
No response
References
No response