A Pulumi package for creating and managing databricks cloud resources.
Project description
Databricks Resource Provider
The Databricks Resource Provider lets you manage Databricks resources.
Installing
This package is available in many languages in the standard packaging formats.
Node.js (Java/TypeScript)
To use from JavaScript or TypeScript in Node.js, install using either npm
:
$ npm install @pulumi/databricks
or yarn
:
$ yarn add @pulumi/databricks
Python
To use from Python, install using pip
:
$ pip install pulumi_databricks
Go
To use from Go, use go get
to grab the latest version of the library
$ go get github.com/pulumi/pulumi-databricks/sdk
.NET
To use from .NET, install using dotnet add package
:
$ dotnet add package Pulumi.Databricks
Configuration
The following configuration points are available:
databricks:host
- (optional) This is the host of the Databricks workspace. It is a URL that you use to login to your workspace. Alternatively, you can provide this value as an environment variableDATABRICKS_HOST
.databricks:token
- (optional) This is the API token to authenticate into the workspace. Alternatively, you can provide this value as an environment variableDATABRICKS_TOKEN
.databricks:username
- (optional) This is the username of the user that can log into the workspace. Alternatively, you can provide this value as an environment variableDATABRICKS_USERNAME
.databricks:password
- (optional) This is the user's password that can log into the workspace. Alternatively, you can provide this value as an environment variableDATABRICKS_PASSWORD
.databricks:configFile
- (optional) Location of the Databricks CLI credentials file created bydatabricks configure --token
command (~/.databrickscfg
by default). Check Databricks CLI documentation for more details. The provider uses configuration file credentials when you don't specify host/token/username/password/azure attributes. Alternatively, you can provide this value as an environment variableDATABRICKS_CONFIG_FILE
. This field defaults to~/.databrickscfg
.databricks:profile
- (optional) Connection profile specified within~/.databrickscfg
. Please check connection profiles section for more details. This field defaults toDEFAULT
.databricks:accountId
- (optional) Account Id that could be found in the bottom left corner of Accounts Console. Alternatively, you can provide this value as an environment variableDATABRICKS_ACCOUNT_ID
. Only has effect whenhost = "https://accounts.cloud.databricks.com/"
and currently used to provision account admins viadatabricks_user
. In the future releases of the provider this property will also be used specify account fordatabricks_mws_*
resources as well.databricks:authType
- (optional) enforce specific auth type to be used in very rare cases, where a single provider state manages Databricks workspaces on more than one cloud andMore than one authorization method configured
error is a false positive. Valid values arepat
,basic
,azure-client-secret
,azure-msi
,azure-cli
, anddatabricks-cli
.
Reference
For detailed reference documentation, please visit the Pulumi registry.
Contributors
This package was originally built by the development team at https://www.ingenii.io/. Pulumi thanks them for their continued contributions to the project.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file pulumi_databricks-1.12.0a1683264477.tar.gz
.
File metadata
- Download URL: pulumi_databricks-1.12.0a1683264477.tar.gz
- Upload date:
- Size: 312.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0bc49cc16753082d2ef1fba84fdfaff790ab4c4a4dfdb47f693037dae489d7b9 |
|
MD5 | a4e4d6972aa4f0ec83f3031c52c9a686 |
|
BLAKE2b-256 | 616e573f05ea6d4759f320439712753a6c35b11241279a8e8cd0516697f055b3 |