Skip to content

Commit aedda3b

Browse files
committed
fix: fmt
1 parent 713ffa4 commit aedda3b

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
@@ -79,7 +79,7 @@ resource "databricks_secret_acl" "this" {
7979

8080
lifecycle {
8181
precondition {
82-
condition = length(var.iam_account_groups) != 0 ? contains(var.iam_account_groups[*].group_name, each.value.principal): true
82+
condition = length(var.iam_account_groups) != 0 ? contains(var.iam_account_groups[*].group_name, each.value.principal) : true
8383
error_message = <<-EOT
8484
Databricks Account group mentioned in 'acl' parameter of 'secret_scope' variable doesn't exists or wasn't assigned to Workspace.
8585
Please make sure provided group exist within Databricks Account and then check if it assigned to target Workspace (look for 'iam_account_groups' variable).

0 commit comments

Comments
 (0)