You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By default, only the USE MARKETPLACE ASSETS metastore privilege is assigned to all users.
By taking away all privileges, I expect the USE MARKETPLACE ASSETS metastore privilege to be removed.
Actual Behavior
An error is thrown:
Error: cannot read grant: got empty permissions list
Configuration
Expected Behavior
I would like to deactivate marketplace access for all users as explained here: https://docs.databricks.com/en/marketplace/get-started-consumer.html#disable-marketplace-access
By default, only the
USE MARKETPLACE ASSETS
metastore privilege is assigned to all users.By taking away all privileges, I expect the
USE MARKETPLACE ASSETS
metastore privilege to be removed.Actual Behavior
An error is thrown:
The documentation actually mentions that the privileges list must not be empty:
(from https://registry.terraform.io/providers/databricks/databricks/latest/docs/resources/grant)
But how am I supposed to remove this single privilege then?
Steps to Reproduce
terraform apply
Terraform and provider versions
Is it a regression?
No
Debug Output
Not needed, the error is clear. This is where the error is thrown:
terraform-provider-databricks/catalog/resource_grant.go
Line 101 in 2ceab92
Important Factoids
No
Would you like to implement a fix?
No
The text was updated successfully, but these errors were encountered: