Skip to content

Commit b99e77a

Browse files
authored
fix: update unity cluster condition
1 parent 13a4f8d commit b99e77a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

permissions.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ resource "databricks_permissions" "cluster_policy" {
3838
}
3939

4040
resource "databricks_permissions" "unity_cluster" {
41-
count = length(var.unity_cluster_config.permissions) != 0 && var.unity_cluster_enabled ? 1 : 0
41+
count = var.unity_cluster_config.permissions != null && var.unity_cluster_enabled ? 1 : 0
4242

4343
cluster_id = databricks_cluster.this[0].id
4444

0 commit comments

Comments
 (0)