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:
|
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 |
TODO
TYPE:
|
azure_client_secret |
TODO
TYPE:
|
azure_environment |
TODO
TYPE:
|
azure_login_app_id |
TODO
TYPE:
|
azure_tenant_id |
TODO
TYPE:
|
azure_use_msi |
TODO
TYPE:
|
azure_workspace_resource_id |
TODO
TYPE:
|
client_id |
TODO
TYPE:
|
client_secret |
TODO
TYPE:
|
cluster_id |
TODO
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 |
TODO
TYPE:
|
debug_headers |
TODO
TYPE:
|
debug_truncate_bytes |
TODO
TYPE:
|
google_credentials |
TODO
TYPE:
|
google_service_account |
TODO
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 |
TODO
TYPE:
|
metadata_service_url |
TODO
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 |
TODO
TYPE:
|
retry_timeout_seconds |
TODO
TYPE:
|
skip_verify |
TODO
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:
|
warehouse_id |
TODO
TYPE:
|
Examples:
from laktory import models
p = models.DatabricksProvider(
host="adb-4623853922539974.14.azuredatabricks.net",
token="${vars.DATABRICKS_TOKEN}",
)