in internal/provider/telemetry_resource.go [199:211]
func (r *TelemetryResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse) {
data := &TelemetryResourceModel{}
// Read Terraform prior state data into the model
resp.Diagnostics.Append(req.State.Get(ctx, data)...)
if resp.Diagnostics.HasError() {
return
}
traceLog(ctx, fmt.Sprintf("delete telemetry resource with id %s", data.Id.String()))
data.sendTags(ctx, r, "delete")
}