Terraform Version
v1.14.5
Terraform Grafana Provider Version
4.25.0
Grafana Version
12.3
Affected Resource(s)
grafana_dashboard (resource)
Terraform Configuration Files
resource "grafana_dashboard" "general_traefik" {
config_json = file("/etc/grafana/dashboards/general/traefik")
overwrite = true
}
Expected Behavior
- With the current version of the provider, we cannot use dashboards in YAML format. This format is currently available within the dashboard and can be exported (
V1 Resource / V2 Resource ).
Error: invalid character 'a' looking for beginning of value
apiVersion: dashboard.grafana.app/v2beta1
kind: Dashboard
metadata:
...
...
- Even if we use
V1 Resource or V2 Resource in JSON format, we will encounter an error when applying.
Error: [POST /dashboards/db][400] postDashboardBadRequest {"message":"Dashboard title cannot be empty","status":"empty-name"}
Will support for new models be added to the provider?
Terraform Version
v1.14.5
Terraform Grafana Provider Version
4.25.0
Grafana Version
12.3
Affected Resource(s)
grafana_dashboard (resource)
Terraform Configuration Files
Expected Behavior
V1 Resource/V2 Resource).V1 ResourceorV2 Resourcein JSON format, we will encounter an error when applying.Will support for new models be added to the provider?