Azure Databricks Workspace Customer Managed Key

This page shows how to write Terraform for Databricks Workspace Customer Managed Key and write them securely.

azurerm_databricks_workspace_customer_managed_key (Terraform)

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.

Review your Terraform file for Azure best practices

Shisho Cloud, our free checker to make sure your Terraform configuration follows best practices, is available (beta).

Parameters

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.

#Attributes Reference

The following attributes are exported:

  • id - The ID of the Databricks Customer Managed Key.

Timeouts

The 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.

Import

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.

Frequently asked questions

What is Azure Databricks Workspace Customer Managed Key?

Azure Databricks Workspace Customer Managed Key is a resource for Databricks of Microsoft Azure. Settings can be wrote in Terraform.

security-icon

Automate config file reviews on your commits

Fix issues in your infrastructure as code with auto-generated patches.