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

[DOC] Unity Catalog: which operations need account- versus workspace-level authentication? #2727

Closed
PaulCornellDB opened this issue Sep 26, 2023 · 0 comments · Fixed by #2987
Labels
docs add explicit documentation about corner case

Comments

@PaulCornellDB
Copy link

Affected Resource(s)

Request

Users are using Terraform to set up Unity Catalog and their entire permission structure. They are encountering "failures" with the Terraform module after a recent upgrade to Databricks Terraform provider v1.24. They assume this line in the accompanying release notes "Added account-level API support for Unity Catalog objects" meant that all Unity Catalog resources are now supported at the account-level.

From one reporting user: it is "not very clear at this point in the docs which need workspace level api and account level api so we just assumed any unity resource is acct level"

You use the account APIs to create metastores and assign to workspaces. You use the workspace APIs for everything ‘under a metastore.' However, in the latest release notes: it noted "Added account-level API support for Unity Catalog objects (#2182)." Which signified to some users to assume that all Unity Catalog objects were now at the account level and needed account level APIs. However, this was not the case.

So this request is to make it clear in the docs where applicable that the account-level APIs and account level provider should be used to create metastores and assign those metastores to workspaces. While anything below that should be using the workspace-level APIs and the workspace provider should be used to anything else.

@PaulCornellDB PaulCornellDB added the docs add explicit documentation about corner case label Sep 26, 2023
@nkvuong nkvuong mentioned this issue Dec 4, 2023
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs add explicit documentation about corner case
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant