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
$ terraform apply
(...)
databricks_permissions.ml_models_all: Creating...
╷
│ Error: Cannot change permissions for group 'admins' to None.
│
│ with databricks_permissions.ml_models_all,
│ on main.tf line 1, in resource "databricks_permissions" "ml_models_all":
│ 1: resource "databricks_permissions" "ml_models_all" {
│
╵
Try 2
$ terraform apply
╷
│ Error: It is not possible to restrict any permissions from `admins`.
│
│ with databricks_permissions.ml_models_all,
│ on main.tf line 1, in resource "databricks_permissions" "ml_models_all":
│ 1: resource "databricks_permissions" "ml_models_all" {
│
╵
databricks_permissions.ml_models_all: Creating...
2022-01-18T15:27:51.518+0100 [INFO] Starting apply for databricks_permissions.ml_models_all
2022-01-18T15:27:51.518+0100 [DEBUG] databricks_permissions.ml_models_all: applying the planned Create change
2022-01-18T15:27:51.520+0100 [DEBUG] provider.terraform-provider-databricks_v0.4.5: PUT /api/2.0/permissions/registered-models/root {
"access_control_list": [
{
"group_name": "users",
"permission_level": "CAN_READ"
}
]
}: timestamp=2022-01-18T15:27:51.520+0100
2022-01-18T15:27:51.750+0100 [DEBUG] provider.terraform-provider-databricks_v0.4.5: 500 Internal Server Error {
"error_code": "INTERNAL_ERROR",
"message": "Cannot change permissions for group 'admins' to None."
}: timestamp=2022-01-18T15:27:51.750+0100
2022-01-18T15:27:51.750+0100 [WARN] provider.terraform-provider-databricks_v0.4.5: /api/2.0/permissions/registered-models/root:500 - Cannot change permissions for group 'admins' to None.: timestamp=2022-01-18T15:27:51.750+0100
Try 2
Nothing of interest as it's validation error during plan phase.
The text was updated successfully, but these errors were encountered:
nfx
changed the title
[ISSUE] MLflow permissions - cannot configure permissions for all models
Feature: configure permissions for all MLflow models
Jan 18, 2022
I'm trying to configure permissions for all models as per https://docs.databricks.com/security/access-control/workspace-acl.html#configure-permissions-for-all-mlflow-models-in-model-registry
Configuration
Try 1
Try 2
Expected Behavior
All users should be granted "CAN_READ" privilege.
Actual Behavior
Try 1
Try 2
Steps to Reproduce
terraform apply
Terraform and provider versions
Terraform v1.0.8
on linux_amd64
Debug Output
Try 1
Try 2
Nothing of interest as it's validation error during plan phase.
The text was updated successfully, but these errors were encountered: