Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] Don't destroy workspace binding completely if it's the last binding for an object #4305

Open
alexott opened this issue Dec 10, 2024 · 1 comment
Labels
feature New feature or request

Comments

@alexott
Copy link
Contributor

alexott commented Dec 10, 2024

When destroying the workspace binding we may need to check if it's the last binding for a current UC object, and if it's then don't destroy it until UC object has isolation mode changed to OPEN.

Implementing this will prevent errors that UC object isn't available in the current workspace, like this:

databricks_workspace_binding.service_cred: Destruction complete after 2s
databricks_credential.credential: Destroying... [id=aott-db-service-isolated]
╷
│ Error: cannot delete credential: Credential 'aott-db-service-isolated' is not accessible in current workspace
│
│
╵
@alexott alexott added the feature New feature or request label Dec 10, 2024
@devlucasc
Copy link

I'm having this problem also. Any updates?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants