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] Create a workspace_bindings resource that can resolve configuration drift #3506

Open
Hekter opened this issue Apr 24, 2024 · 0 comments
Labels
feature New feature or request

Comments

@Hekter
Copy link

Hekter commented Apr 24, 2024

Use-cases

databricks_catalog_workspace_binding objects do not detect configuration drift such as additional bindings added outside of IAC, which would be very useful to have in the style of databricks_grants.

Proposal

Create a databricks_catalog_workspace_bindings resource that takes a catalog resource, and n amount of workspace_binding blocks.

resource "databricks_catalog_workspace_bindings" "self" {
  catalog_id = "catalog_id"
  workspace_binding {
    workspace_id = "workspace_1_id"
  }
  workspace_binding {
    workspace_id = "workspace_2_id"
    binding_type = "BINDING_TYPE_READ_ONLY"
  }
}

This resource is requires that the databricks_catalog isolation_mode attribute must be set to ISOLATED.

@Hekter Hekter added the feature New feature or request label Apr 24, 2024
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

1 participant