Skip to content

Commit

Permalink
fixing cluster id in permission.tf
Browse files Browse the repository at this point in the history
  • Loading branch information
tomarv2 committed Jun 22, 2022
1 parent 4832603 commit 2d56e87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion permissions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ resource "databricks_permissions" "driver_pool" {
resource "databricks_permissions" "cluster" {
count = var.deploy_cluster == true && var.cluster_access_control != null ? 1 : 0

cluster_id = join("", databricks_cluster.cluster.*.id)
cluster_id = databricks_cluster.cluster[local.cluster_name].id

dynamic "access_control" {
for_each = var.cluster_access_control
Expand Down

0 comments on commit 2d56e87

Please sign in to comment.