Skip to content

Commit

Permalink
fix: not allowed to change var (#685)
Browse files Browse the repository at this point in the history
  • Loading branch information
jayengee authored Dec 4, 2024
1 parent b18a2c9 commit 5e76ad3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions databricks-s3-volume/grants.tf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
locals {
# Only set the grant principals if the catalog and/or schema doesn't already exist
catalog_all_priv_grant_principals = var.create_catalog ? var.catalog_all_priv_grant_principals : []
catalog_all_priv_grant_principals = concat(local.catalog_all_priv_grant_principals, [var.owner])
_catalog_all_priv_grant_principals = var.create_catalog ? var.catalog_all_priv_grant_principals : []
catalog_all_priv_grant_principals = concat(local._catalog_all_priv_grant_principals, [var.owner])
catalog_r_grant_principals = var.create_catalog ? var.catalog_r_grant_principals : []
catalog_rw_grant_principals = var.create_catalog ? var.catalog_rw_grant_principals : []
schema_r_grant_principals = var.create_schema ? var.schema_r_grant_principals : []
Expand Down

0 comments on commit 5e76ad3

Please sign in to comment.