terraform-provider-datadog icon indicating copy to clipboard operation
terraform-provider-datadog copied to clipboard

Error when removing an SLO linked from a dashboard

Open lhelman opened this issue 3 years ago • 0 comments

When removing an SLO which is shown in a dashboard, you get an error:

Error: error deleting service level objective from https://api.datadoghq.com/api/v1/slo/abc..... 409 Conflict: {"errors":"slo abc is referenced in dashboard_id: xxx-yyy-zzzj","data":null}

The SLO was also removed from the dashboard in terraform, so it is a matter of ordering the operations - graph

Manually removing the dashboard and letting terraform to recreate it, works

lhelman avatar May 06 '22 13:05 lhelman