Azure Databricks Workspace Customer Managed Key
This page shows how to write Terraform for Databricks Workspace Customer Managed Key and write them securely.
The Workspace Customer Managed Key in Databricks can be configured in Terraform with the resource name
azurerm_databricks_workspace_customer_managed_key. The following sections describe how to use the resource and its parameters.
Example Usage from GitHub
An example could not be found in GitHub.
The following arguments are supported:
workspace_id- (Required) The ID of the Databricks workspace.
key_vault_key_id- (Required) The ID of the Key Vault.
The following attributes are exported:
id- The ID of the Databricks Customer Managed Key.
timeouts block allows you to specify timeouts for certain actions:
create- (Defaults to 30 minutes) Used when creating the Databricks Customer Managed Key.
update- (Defaults to 30 minutes) Used when updating the Databricks Customer Managed Key.
read- (Defaults to 5 minutes) Used when retrieving the Databricks Customer Managed Key.
delete- (Defaults to 30 minutes) Used when deleting the Databricks Customer Managed Key.
Databricks Workspace Customer Managed Key can be imported using the
resource id, e.g.
terraform import azurerm_databricks_workspace_customer_managed_key.workspace1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Databricks/customerManagedKey/workspace1
Explanation in Terraform Registry
Manages a Customer Managed Key for a Databricks Workspace
Azure Resource Manager Example
Azure Resource Manager code does not have the related resource.