func NewWorkspaceFinalizer(ws StoreCleaner, af xpresource.Finalizer) *WorkspaceFinalizer {
	return &WorkspaceFinalizer{
		Finalizer: af,
		Store:     ws,
	}
}
TODO(muvaf): A FinalizerChain in crossplane-runtime?
NewWorkspaceFinalizer returns a new WorkspaceFinalizer.
package terraform
import (
	"context"
	xpresource "github.com/crossplane/crossplane-runtime/pkg/resource"
	"github.com/pkg/errors"
)
const (
	errRemoveWorkspace = "cannot remove workspace from the store"
)
type StoreCleaner interface {
	Remove(obj xpresource.Object) error
}