Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fix: set dbx volume var once #685

Merged
merged 1 commit into from
Dec 4, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading