https://pulumi.com logo
#aws
Title
# aws
d

dazzling-greece-45968

01/19/2024, 3:36 PM
Hi, Hello, I am trying to create a dashboard with grafana using pulumi, but when I deploy the following code I get an error:
Copy code
return new grafana.DataSource(dataSourceName, {
			type: 'cloudwatch',
			orgId: workspace.id.apply(id => id),
			jsonDataEncoded:  dataEncoded,
			secureJsonDataEncoded: JSON.stringify(secureData),
		}, {
			provider: this.provider
		});
this is the error: "error: Resource type 'grafanaindex/dataSourceDataSource' not found" Please consider that I am using the library that the official Pulumi website says it's: import * as grafana from '@lbrlabs/pulumi-grafana';