1. Packages
  2. Databricks
  3. Installation & Configuration
Databricks v1.37.0 published on Thursday, Apr 25, 2024 by Pulumi

Databricks: Installation & Configuration

databricks logo
Databricks v1.37.0 published on Thursday, Apr 25, 2024 by Pulumi

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

    Installation

    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 pulumi.com. 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:

      $ export DATABRICKS_HOST=XXXXXXXXXXXXXX
      $ export DATABRICKS_TOKEN=YYYYYYYYYYYYYY
      
    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.

    databricks logo
    Databricks v1.37.0 published on Thursday, Apr 25, 2024 by Pulumi