Skip to content

Commit

Permalink
Merge pull request #48 from databricks/dbfs-cmk
Browse files Browse the repository at this point in the history
added dbfs cmk
  • Loading branch information
nathanknox authored Apr 17, 2024
2 parents 4c38239 + f52aec2 commit 324b646
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions azure/tf/modules/azure_spoke/adb_workspace.tf
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,13 @@ resource "azurerm_databricks_workspace" "this" {
}
}

resource "azurerm_databricks_workspace_root_dbfs_customer_managed_key" "this" {
depends_on = [azurerm_key_vault_access_policy.databricks]

workspace_id = azurerm_databricks_workspace.this.workspace_id
key_vault_key_id = var.key_vault_id
}

# Define an Azure Key Vault access policy for Databricks
resource "azurerm_key_vault_access_policy" "databricks" {
# depends_on = [azurerm_databricks_workspace.this]
Expand Down

0 comments on commit 324b646

Please sign in to comment.