published on Friday, Nov 13, 2026 by pulumiverse
published on Friday, Nov 13, 2026 by pulumiverse
Gets the list of Scaleway product dashboards available in Cockpit Grafana for a project.
Use this data source to discover dashboard names, titles, URLs, tags, and variables for automation (runbooks, portals). Filter with tags when you only need dashboards for a given product family.
Refer to Cockpit’s product documentation and API documentation for more information.
Example Usage
List all product dashboards
import * as pulumi from "@pulumi/pulumi";
import * as scaleway from "@pulumiverse/scaleway";
const all = scaleway.observability.getGrafanaProductDashboards({
projectId: projectId,
});
export const dashboardUrls = all.then(all => .reduce((__obj, d) => ({ ...__obj, [d.name]: d.url }), {}));
import pulumi
import pulumi_scaleway as scaleway
all = scaleway.observability.get_grafana_product_dashboards(project_id=project_id)
pulumi.export("dashboardUrls", {d.name: d.url for d in all.dashboards})
Example coming soon!
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Scaleway = Pulumiverse.Scaleway;
return await Deployment.RunAsync(() =>
{
var all = Scaleway.Observability.GetGrafanaProductDashboards.Invoke(new()
{
ProjectId = projectId,
});
return new Dictionary<string, object?>
{
["dashboardUrls"] = .ToDictionary(item => {
var d = item.Value;
return d.Name;
}, item => {
var d = item.Value;
return d.Url;
}),
};
});
Example coming soon!
Example coming soon!
terraform {
required_providers {
scaleway = {
source = "pulumi/scaleway"
}
}
}
data "scaleway_observability_grafana_product_dashboards" "all" {
project_id = projectId
}
output "dashboardUrls" {
value = {for d in data.scaleway_observability_grafana_product_dashboards.all.dashboards : d.name => d.url}
}
Filter by tags
import * as pulumi from "@pulumi/pulumi";
import * as scaleway from "@pulumiverse/scaleway";
const rdb = scaleway.observability.getGrafanaProductDashboards({
projectId: projectId,
tags: ["rdb"],
});
import pulumi
import pulumi_scaleway as scaleway
rdb = scaleway.observability.get_grafana_product_dashboards(project_id=project_id,
tags=["rdb"])
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/observability"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := observability.GetGrafanaProductDashboards(ctx, &observability.GetGrafanaProductDashboardsArgs{
ProjectId: pulumi.StringRef(projectId),
Tags: []string{
"rdb",
},
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Scaleway = Pulumiverse.Scaleway;
return await Deployment.RunAsync(() =>
{
var rdb = Scaleway.Observability.GetGrafanaProductDashboards.Invoke(new()
{
ProjectId = projectId,
Tags = new[]
{
"rdb",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.scaleway.observability.ObservabilityFunctions;
import com.pulumi.scaleway.observability.inputs.GetGrafanaProductDashboardsArgs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var rdb = ObservabilityFunctions.getGrafanaProductDashboards(GetGrafanaProductDashboardsArgs.builder()
.projectId(projectId)
.tags("rdb")
.build());
}
}
variables:
rdb:
fn::invoke:
function: scaleway:observability:getGrafanaProductDashboards
arguments:
projectId: ${projectId}
tags:
- rdb
terraform {
required_providers {
scaleway = {
source = "pulumi/scaleway"
}
}
}
data "scaleway_observability_grafana_product_dashboards" "rdb" {
project_id = projectId
tags = ["rdb"]
}
Using getGrafanaProductDashboards
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getGrafanaProductDashboards(args: GetGrafanaProductDashboardsArgs, opts?: InvokeOptions): Promise<GetGrafanaProductDashboardsResult>
function getGrafanaProductDashboardsOutput(args: GetGrafanaProductDashboardsOutputArgs, opts?: InvokeOutputOptions): Output<GetGrafanaProductDashboardsResult>def get_grafana_product_dashboards(project_id: Optional[str] = None,
tags: Optional[Sequence[str]] = None,
opts: Optional[InvokeOptions] = None) -> GetGrafanaProductDashboardsResult
def get_grafana_product_dashboards_output(project_id: pulumi.Input[Optional[str]] = None,
tags: pulumi.Input[Optional[Sequence[pulumi.Input[str]]]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetGrafanaProductDashboardsResult]func GetGrafanaProductDashboards(ctx *Context, args *GetGrafanaProductDashboardsArgs, opts ...InvokeOption) (*GetGrafanaProductDashboardsResult, error)
func GetGrafanaProductDashboardsOutput(ctx *Context, args *GetGrafanaProductDashboardsOutputArgs, opts ...InvokeOption) GetGrafanaProductDashboardsResultOutput> Note: This function is named GetGrafanaProductDashboards in the Go SDK.
public static class GetGrafanaProductDashboards
{
public static Task<GetGrafanaProductDashboardsResult> InvokeAsync(GetGrafanaProductDashboardsArgs args, InvokeOptions? opts = null)
public static Output<GetGrafanaProductDashboardsResult> Invoke(GetGrafanaProductDashboardsInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetGrafanaProductDashboardsResult> Invoke(GetGrafanaProductDashboardsInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetGrafanaProductDashboardsResult> getGrafanaProductDashboards(GetGrafanaProductDashboardsArgs args, InvokeOptions options)
public static Output<GetGrafanaProductDashboardsResult> getGrafanaProductDashboards(GetGrafanaProductDashboardsArgs args, InvokeOptions options)
public static Output<GetGrafanaProductDashboardsResult> getGrafanaProductDashboards(GetGrafanaProductDashboardsArgs args, InvokeOutputOptions options)
fn::invoke:
function: scaleway:observability/getGrafanaProductDashboards:getGrafanaProductDashboards
arguments:
# arguments dictionarydata "scaleway_observability_get_grafana_product_dashboards" "name" {
# arguments
}The following arguments are supported:
- Project
Id string - The ID of the project to list dashboards for. Defaults to the project configured in the provider.
- List<string>
- Filter dashboards by tags (for example
rdb,lb).
- Project
Id string - The ID of the project to list dashboards for. Defaults to the project configured in the provider.
- []string
- Filter dashboards by tags (for example
rdb,lb).
- project_
id string - The ID of the project to list dashboards for. Defaults to the project configured in the provider.
- list(string)
- Filter dashboards by tags (for example
rdb,lb).
- project
Id String - The ID of the project to list dashboards for. Defaults to the project configured in the provider.
- List<String>
- Filter dashboards by tags (for example
rdb,lb).
- project
Id string - The ID of the project to list dashboards for. Defaults to the project configured in the provider.
- string[]
- Filter dashboards by tags (for example
rdb,lb).
- project_
id str - The ID of the project to list dashboards for. Defaults to the project configured in the provider.
- Sequence[str]
- Filter dashboards by tags (for example
rdb,lb).
- project
Id String - The ID of the project to list dashboards for. Defaults to the project configured in the provider.
- List<String>
- Filter dashboards by tags (for example
rdb,lb).
getGrafanaProductDashboards Result
The following output properties are available:
- Dashboards
List<Pulumiverse.
Scaleway. Observability. Outputs. Get Grafana Product Dashboards Dashboard> - List of Grafana product dashboards. (see below)
- Id string
- The project ID.
- Names List<string>
- List of dashboard names (useful with
scaleway.observability.getGrafanaProductDashboard). - Project
Id string - List<string>
- Dashboard tags.
- Dashboards
[]Get
Grafana Product Dashboards Dashboard - List of Grafana product dashboards. (see below)
- Id string
- The project ID.
- Names []string
- List of dashboard names (useful with
scaleway.observability.getGrafanaProductDashboard). - Project
Id string - []string
- Dashboard tags.
- dashboards list(object)
- List of Grafana product dashboards. (see below)
- id string
- The project ID.
- names list(string)
- List of dashboard names (useful with
scaleway.observability.getGrafanaProductDashboard). - project_
id string - list(string)
- Dashboard tags.
- dashboards
List<Get
Grafana Product Dashboards Dashboard> - List of Grafana product dashboards. (see below)
- id String
- The project ID.
- names List<String>
- List of dashboard names (useful with
scaleway.observability.getGrafanaProductDashboard). - project
Id String - List<String>
- Dashboard tags.
- dashboards
Get
Grafana Product Dashboards Dashboard[] - List of Grafana product dashboards. (see below)
- id string
- The project ID.
- names string[]
- List of dashboard names (useful with
scaleway.observability.getGrafanaProductDashboard). - project
Id string - string[]
- Dashboard tags.
- dashboards
Sequence[Get
Grafana Product Dashboards Dashboard] - List of Grafana product dashboards. (see below)
- id str
- The project ID.
- names Sequence[str]
- List of dashboard names (useful with
scaleway.observability.getGrafanaProductDashboard). - project_
id str - Sequence[str]
- Dashboard tags.
- dashboards List<Property Map>
- List of Grafana product dashboards. (see below)
- id String
- The project ID.
- names List<String>
- List of dashboard names (useful with
scaleway.observability.getGrafanaProductDashboard). - project
Id String - List<String>
- Dashboard tags.
Supporting Types
GetGrafanaProductDashboardsDashboard
Package Details
- Repository
- scaleway pulumiverse/pulumi-scaleway
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
scalewayTerraform Provider.
published on Friday, Nov 13, 2026 by pulumiverse