Skip to main content

databricks_account

Account-level features, identity and provisioning for Databricks.

info

For Databricks workspace operations use the databricks_workspace provider.

Provider Summary

total services: 8 total resources: 75

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


Installation

REGISTRY PULL databricks_account;

Authentication

To use the databricks_account 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_account": { "type": "bearer", "credentialsenvvar": "DATABRICKS_TOKEN" }}'
./stackql shell --auth="${AUTH}"
# PowerShell
$Auth = "{ 'databricks_account': { 'type': 'bearer', 'credentialsenvvar': 'DATABRICKS_TOKEN' }}"
stackql.exe shell --auth=$Auth

Services