pulumiverse / pulumi-grafana

Pulumi provider for Grafana
Apache License 2.0
19 stars 10 forks source link

DestinationDatasource field cannot be nil #112

Closed lucasc-cosm closed 5 months ago

lucasc-cosm commented 5 months ago

I started seeing this error suddenly:

Unable to Update Slo with ID: me9j8x38oo8fww5d6o9p5: API Error Message:status: 400, body: {"code":400,"error":"SLO failed validation: invalid input - DestinationDatasource field cannot be nil. please refer to the docs here: https://grafana.com/docs/grafana-cloud/alerting-and-irm/slo/set-up/terraform/#provision-slo-resources and try using a DestinationDatasourceUID of: grafanacloud-prom"}

when trying to create SLOs, this is a new error that didn't happened before. Probably something changed in grafana API

lucasc-cosm commented 5 months ago

fixed by https://github.com/pulumiverse/pulumi-grafana/pull/114