databricks logo
Databricks v1.6.0, Jan 25 23

Databricks: Installation & Configuration

The Pulumi Databricks provider uses the Databricks SDK to manage and provision resources.


The Databricks provider is available as a package in all Pulumi languages:

Configuring Credentials

Pulumi relies on the Databricks SDK to authenticate requests from your computer to Databricks. Your credentials are never sent to The Pulumi Databricks Provider needs to be configured with Databricks credentials before it can be used to create resources. Once the credentials obtained, there are two ways to communicate your authorization tokens to Pulumi:

  1. Set the environment variables DATABRICKS_HOST and DATABRICKS_TOKEN:

  2. Set them using configuration, if you prefer that they be stored alongside your Pulumi stack for easy multi-user access:

    $ pulumi config set databricks:token YYYYYYYYYYYYYY --secret
    $ pulumi config set databricks:host XXXXXXXXXXXXXX

Remember to pass --secret when setting databricks:token so that it is properly encrypted. The complete list of configuration parameters is in the Databricks Provider README.