Skip to content

Databricks

laktory.models.resources.DatabricksProvider ยค

Bases: BaseProvider, PulumiResource, TerraformResource

Databricks Provider

ATTRIBUTE DESCRIPTION
account_id

Account Id that could be found in the bottom left corner of Accounts Console.

TYPE: str

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: str

azure_client_id

TODO

TYPE: str

azure_client_secret

TODO

TYPE: str

azure_environment

TODO

TYPE: str

azure_login_app_id

TODO

TYPE: str

azure_tenant_id

TODO

TYPE: str

azure_use_msi

TODO

TYPE: bool

azure_workspace_resource_id

TODO

TYPE: str

client_id

TODO

TYPE: str

client_secret

TODO

TYPE: str

cluster_id

TODO

TYPE: str

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: str

databricks_cli_path

TODO

TYPE: str

debug_headers

TODO

TYPE: bool

debug_truncate_bytes

TODO

TYPE: int

google_credentials

TODO

TYPE: str

google_service_account

TODO

TYPE: str

host

This is the host of the Databricks workspace. It is a URL that you use to login to your workspace.

TYPE: str

http_timeout_seconds

TODO

TYPE: int

metadata_service_url

TODO

TYPE: str

password

This is the user's password that can log into the workspace.

TYPE: str

profile

Connection profile specified within ~/.databrickscfg. Please check connection profiles section for more details.

TYPE: str

rate_limit

TODO

TYPE: int

retry_timeout_seconds

TODO

TYPE: int

skip_verify

TODO

TYPE: bool

token

This is the API token to authenticate into the workspace.

TYPE: str

username

This is the username of the user that can log into the workspace.

TYPE: str

warehouse_id

TODO

TYPE: str

Examples:

from laktory import models

p = models.DatabricksProvider(
    host="adb-4623853922539974.14.azuredatabricks.net",
    token="${vars.DATABRICKS_TOKEN}",
)