Skip to content

Commit

Permalink
Merge pull request #63 from tomarv2/develop
Browse files Browse the repository at this point in the history
fixing cluster id in permission.tf
  • Loading branch information
tomarv2 authored Jun 22, 2022
2 parents f3274f6 + 2d56e87 commit e55bed2
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 e55bed2

Please sign in to comment.