Skip to main content

databricks_workspace

Manage clusters, jobs, notebooks, MLflow and other Databricks workspace resources.

info

For Databricks account operations use the databricks_account provider.

Provider Summary

total services: 26 total resources: 278

See also: [SHOW] [DESCRIBE] [REGISTRY]


Installation

REGISTRY PULL databricks_workspace; 

Authentication

To use the databricks_workspace provider, you can authenticate using one of the following methods:

OAuth2 (Service Principal) [Default]

Set the following environment variables:

These are the same variables that Terraform, the Databricks SDKs, and CLI use.

Personal Access Token (Bearer)

Alternatively, set DATABRICKS_TOKEN to a Databricks personal access token (see Databricks personal access tokens), then supply the auth config when starting the shell:

export DATABRICKS_TOKEN=xxx

# Linux/Mac
AUTH='{ "databricks_workspace": { "type": "bearer", "credentialsenvvar": "DATABRICKS_TOKEN" }}'
./stackql shell --auth="${AUTH}"
# PowerShell
$Auth = "{ 'databricks_workspace': { 'type': 'bearer', 'credentialsenvvar': 'DATABRICKS_TOKEN' }}"
stackql.exe shell --auth=$Auth

Services