Community Note
- Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
- Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
Description
The Cockpit Global API exposes ListGrafanaProductDashboards and GetGrafanaProductDashboard for Scaleway-integrated Grafana dashboards (name, title, URL, tags, variables). The provider already has `scaleway_cockpit_grafana` for the Grafana URL but not for discovering product dashboards programmatically.
Data source(s) would help automation (links in runbooks, internal portals) and complement `scaleway_cockpit_product`.
New or Affected Resource(s)
- New data source(s): e.g. `scaleway_cockpit_grafana_product_dashboards` (list) and `scaleway_cockpit_grafana_product_dashboard` (single by name), or a single list data source with filter.
Potential Terraform Configuration
data "scaleway_cockpit_grafana_product_dashboards" "all" {
project_id = var.project_id
tags = ["rdb"]
}
data "scaleway_cockpit_grafana_product_dashboard" "rdb" {
project_id = var.project_id
dashboard_name = "..." # API field DashboardName
}
References
Community Note
Description
The Cockpit Global API exposes ListGrafanaProductDashboards and GetGrafanaProductDashboard for Scaleway-integrated Grafana dashboards (name, title, URL, tags, variables). The provider already has `scaleway_cockpit_grafana` for the Grafana URL but not for discovering product dashboards programmatically.
Data source(s) would help automation (links in runbooks, internal portals) and complement `scaleway_cockpit_product`.
New or Affected Resource(s)
Potential Terraform Configuration
References