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] Add a new resource to set individual permissions levels for token/password usage #2395

Open
alexott opened this issue Jun 12, 2023 · 1 comment
Labels
feature New feature or request

Comments

@alexott
Copy link
Contributor

alexott commented Jun 12, 2023

Use-cases

Right now databricks_permissions is used to define all permissions for a given securable object, including a special objects "token usage" and "password usage" (doc) that exist as a single instance. Because all permissions needs to be defined inside the same resource, it's getting hard to use it, especially if people are trying to assign permissions inside the modules - in this case all previous assignments will be removed, leading to revoke of the tokens, etc. because we're using PUT API to set permissions

Proposal

This problem could be solved by adding a new resource that will use PATCH API to add/remove individual permissions, although it may lead to inability to detect a configuration drift if changes to permissions are made outside of the terraform.

@alexott alexott added the feature New feature or request label Jun 12, 2023
@alexott alexott changed the title [FEATURE] Add a new resource to [FEATURE] Add a new resource to set individual permissions levels for token/password usage Jun 12, 2023
@nkvuong
Copy link
Contributor

nkvuong commented Jun 13, 2023

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