DatabricksProvider
laktory.models.resources.providers.DatabricksProvider
ยค
Bases: BaseProvider, TerraformResource
Databricks Provider
Examples:
from laktory import models
p = models.DatabricksProvider(
host="adb-4623853922539974.14.azuredatabricks.net",
token="${vars.DATABRICKS_TOKEN}",
)
| PARAMETER | DESCRIPTION |
|---|---|
account_id
|
Account Id that could be found in the bottom left corner of Accounts Console.
TYPE:
|
alias
|
TYPE:
|
auth_type
|
Enforce specific auth type to be used in very rare cases, where a single provider state manages Databricks workspaces on more than one cloud and More than one authorization method configured error is a false positive. Valid values are pat, basic, azure-client-secret, azure-msi, azure-cli, and databricks-cli.
TYPE:
|
azure_client_id
|
TYPE:
|
azure_client_secret
|
TYPE:
|
azure_environment
|
TYPE:
|
azure_login_app_id
|
TYPE:
|
azure_tenant_id
|
TYPE:
|
azure_use_msi
|
TYPE:
|
azure_workspace_resource_id
|
TYPE:
|
client_id
|
TYPE:
|
client_secret
|
TYPE:
|
cluster_id
|
TYPE:
|
config_file
|
Location of the Databricks CLI credentials file created by databricks 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.
TYPE:
|
databricks_cli_path
|
TYPE:
|
debug_headers
|
TYPE:
|
debug_truncate_bytes
|
TYPE:
|
google_credentials
|
TYPE:
|
google_service_account
|
TYPE:
|
host
|
This is the host of the Databricks workspace. It is a URL that you use to login to your workspace.
TYPE:
|
http_timeout_seconds
|
TYPE:
|
metadata_service_url
|
TYPE:
|
password
|
This is the user's password that can log into the workspace.
TYPE:
|
profile
|
Connection profile specified within ~/.databrickscfg. Please check connection profiles section for more details.
TYPE:
|
rate_limit
|
TYPE:
|
retry_timeout_seconds
|
TYPE:
|
skip_verify
|
TYPE:
|
source
|
TYPE:
|
token
|
This is the API token to authenticate into the workspace.
TYPE:
|
username
|
This is the username of the user that can log into the workspace.
TYPE:
|
version
|
TYPE:
|
warehouse_id
|
TYPE:
|