terraform-provider-datadog
terraform-provider-datadog copied to clipboard
Error when removing an SLO linked from a dashboard
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