Skip to content

Commit d9eb0c4

Browse files
authored
Merge pull request #13 from data-platform-hq/fix-output-cluster-permission
fix: output dependant on sku type for cluster
2 parents 4e44e39 + f22806f commit d9eb0c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

outputs.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ output "cluster_policies_object" {
1313
id = databricks_cluster_policy.this[policy.name].id
1414
name = databricks_cluster_policy.this[policy.name].name
1515
can_use = policy.can_use
16-
} if policy.definition != null]
16+
} if policy.definition != null && var.sku == "premium"]
1717
description = "Databricks Cluster Policies object map"
1818
}
1919

0 commit comments

Comments
 (0)