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 SyncGrafanaDataSources (`GlobalAPI.SyncGrafanaDataSources`), which triggers synchronization of data sources (and the alert manager when enabled) across regions. There is no Terraform equivalent today; users must call the API or console after creating sources or changing alert manager settings.
A provider action (consistent with e.g. `scaleway_cockpit_trigger_test_alert`) would fit this one-shot workflow.
New or Affected Resource(s)
- New action: e.g. `scaleway_cockpit_grafana_sync_data_sources`
Potential Terraform Configuration
resource "scaleway_cockpit_grafana_sync_data_sources" "sync" {
project_id = var.project_id
}
(Exact schema to align with other Cockpit actions in the provider.)
References
Community Note
Description
The Cockpit Global API exposes SyncGrafanaDataSources (`GlobalAPI.SyncGrafanaDataSources`), which triggers synchronization of data sources (and the alert manager when enabled) across regions. There is no Terraform equivalent today; users must call the API or console after creating sources or changing alert manager settings.
A provider action (consistent with e.g. `scaleway_cockpit_trigger_test_alert`) would fit this one-shot workflow.
New or Affected Resource(s)
Potential Terraform Configuration
(Exact schema to align with other Cockpit actions in the provider.)
References