2024-12-18 18:20:13 +00:00
2024-12-18 16:07:09 +00:00
## artifacts
2024-12-18 20:12:44 +00:00
2024-12-18 16:07:09 +00:00
Defines the attributes to build an artifact
2024-12-18 18:20:13 +00:00
.. list-table::
:header-rows: 1
* - Key
- Type
- Description
2024-12-18 18:59:08 +00:00
* - < artifacts-entry-name >
2024-12-18 18:20:13 +00:00
- Map
2024-12-18 18:59:08 +00:00
- Item of the `artifacts` map
2024-12-18 18:20:13 +00:00
2024-12-18 16:07:09 +00:00
Each item has the following attributes:
2024-12-18 18:20:13 +00:00
.. list-table::
:header-rows: 1
* - Key
- Type
- Description
* - build
- String
- An optional set of non-default build commands that you want to run locally before deployment. For Python wheel builds, the Databricks CLI assumes that it can find a local install of the Python wheel package to run builds, and it runs the command python setup.py bdist_wheel by default during each bundle deployment. To specify multiple build commands, separate each command with double-ampersand (&& ) characters.
* - executable
- String
- The executable type.
* - files
- Sequence
- The source files for the artifact, defined as an [_ ](#artifact_file ).
* - path
- String
- The location where the built artifact will be saved.
* - type
- String
- The type of the artifact. Valid values are `wheel` or `jar`
2024-12-18 16:07:09 +00:00
## bundle
2024-12-18 20:12:44 +00:00
2024-12-18 16:07:09 +00:00
The attributes of the bundle. See [_ ](/dev-tools/bundles/settings.md#bundle )
2024-12-18 18:20:13 +00:00
.. list-table::
:header-rows: 1
* - Key
- Type
- Description
* - cluster_id
- String
- The ID of a cluster to use to run the bundle. See [_ ](/dev-tools/bundles/settings.md#cluster_id ).
* - compute_id
- String
-
* - databricks_cli_version
- String
- The Databricks CLI version to use for the bundle. See [_ ](/dev-tools/bundles/settings.md#databricks_cli_version ).
* - deployment
- Map
- The definition of the bundle deployment. For supported attributes, see [_ ](#deployment ) and [_ ](/dev-tools/bundles/deployment-modes.md ).
* - git
- Map
- The Git version control details that are associated with your bundle. For supported attributes, see [_ ](#git ) and [_ ](/dev-tools/bundles/settings.md#git ).
* - name
- String
- The name of the bundle.
* - uuid
- String
-
2024-12-18 16:07:09 +00:00
### bundle.deployment
2024-12-18 20:12:44 +00:00
2024-12-18 16:07:09 +00:00
The definition of the bundle deployment
2024-12-18 18:20:13 +00:00
.. list-table::
:header-rows: 1
* - Key
- Type
- Description
* - fail_on_active_runs
- Boolean
- Whether to fail on active runs. If this is set to true a deployment that is running can be interrupted.
* - lock
- Map
- The deployment lock attributes. See [_ ](#lock ).
2024-12-18 16:07:09 +00:00
### bundle.deployment.lock
2024-12-18 20:12:44 +00:00
2024-12-18 16:07:09 +00:00
The deployment lock attributes.
2024-12-18 18:20:13 +00:00
.. list-table::
:header-rows: 1
* - Key
- Type
- Description
* - enabled
- Boolean
- Whether this lock is enabled.
* - force
- Boolean
- Whether to force this lock if it is enabled.
2024-12-18 16:07:09 +00:00
### bundle.git
2024-12-18 20:12:44 +00:00
2024-12-18 16:07:09 +00:00
The Git version control details that are associated with your bundle.
2024-12-18 18:20:13 +00:00
.. list-table::
:header-rows: 1
* - Key
- Type
- Description
* - branch
- String
- The Git branch name. See [_ ](/dev-tools/bundles/settings.md#git ).
* - origin_url
- String
- The origin URL of the repository. See [_ ](/dev-tools/bundles/settings.md#git ).
2024-12-18 16:07:09 +00:00
## experimental
2024-12-18 20:12:44 +00:00
2024-12-18 16:07:09 +00:00
Defines attributes for experimental features.
2024-12-18 18:20:13 +00:00
.. list-table::
:header-rows: 1
* - Key
- Type
- Description
* - pydabs
- Map
- The PyDABs configuration.
* - python_wheel_wrapper
- Boolean
- Whether to use a Python wheel wrapper
* - scripts
- Map
- The commands to run
* - use_legacy_run_as
- Boolean
- Whether to use the legacy run_as behavior
2024-12-18 16:07:09 +00:00
### experimental.pydabs
2024-12-18 20:12:44 +00:00
2024-12-18 16:07:09 +00:00
The PyDABs configuration.
2024-12-18 18:20:13 +00:00
.. list-table::
:header-rows: 1
* - Key
- Type
- Description
* - enabled
- Boolean
- Whether or not PyDABs (Private Preview) is enabled
* - import
- Sequence
- The PyDABs project to import to discover resources, resource generator and mutators
* - venv_path
- String
- The Python virtual environment path
2024-12-18 16:07:09 +00:00
## include
2024-12-18 20:12:44 +00:00
2024-12-18 16:07:09 +00:00
Specifies a list of path globs that contain configuration files to include within the bundle. See [_ ](/dev-tools/bundles/settings.md#include )
2024-12-18 18:20:13 +00:00
2024-12-18 16:07:09 +00:00
## permissions
2024-12-18 20:12:44 +00:00
2024-12-18 16:07:09 +00:00
Defines the permissions to apply to experiments, jobs, pipelines, and models defined in the bundle. See [_ ](/dev-tools/bundles/settings.md#permissions ) and [_ ](/dev-tools/bundles/permissions.md ).
2024-12-18 18:20:13 +00:00
2024-12-18 16:07:09 +00:00
Each item of `permissions` has the following attributes:
2024-12-18 18:20:13 +00:00
.. list-table::
:header-rows: 1
* - Key
- Type
- Description
* - group_name
- String
- The name of the group that has the permission set in level.
* - level
- String
- The allowed permission for user, group, service principal defined for this permission.
* - service_principal_name
- String
- The name of the service principal that has the permission set in level.
* - user_name
- String
- The name of the user that has the permission set in level.
2024-12-18 16:07:09 +00:00
## presets
2024-12-18 20:12:44 +00:00
2024-12-18 16:07:09 +00:00
Defines bundle deployment presets. See [_ ](/dev-tools/bundles/deployment-modes.md#presets ).
2024-12-18 18:20:13 +00:00
.. list-table::
:header-rows: 1
* - Key
- Type
- Description
* - jobs_max_concurrent_runs
- Integer
- The maximum concurrent runs for a job.
* - name_prefix
- String
- The prefix for job runs of the bundle.
* - pipelines_development
- Boolean
- Whether pipeline deployments should be locked in development mode.
* - source_linked_deployment
- Boolean
- Whether to link the deployment to the bundle source.
* - tags
- Map
- The tags for the bundle deployment.
* - trigger_pause_status
- String
- A pause status to apply to all job triggers and schedules. Valid values are PAUSED or UNPAUSED.
2024-12-18 16:07:09 +00:00
## resources
2024-12-18 20:12:44 +00:00
2024-12-18 16:07:09 +00:00
Specifies information about the Databricks resources used by the bundle. See [_ ](/dev-tools/bundles/resources.md ).
2024-12-18 18:20:13 +00:00
.. list-table::
:header-rows: 1
* - Key
- Type
- Description
* - clusters
- Map
- The cluster definitions for the bundle. See [_ ](/dev-tools/bundles/resources.md#cluster )
* - dashboards
- Map
- The dashboard definitions for the bundle. See [_ ](/dev-tools/bundles/resources.md#dashboard )
* - experiments
- Map
- The experiment definitions for the bundle. See [_ ](/dev-tools/bundles/resources.md#experiment )
* - jobs
- Map
- The job definitions for the bundle. See [_ ](/dev-tools/bundles/resources.md#job )
* - model_serving_endpoints
- Map
- The model serving endpoint definitions for the bundle. See [_ ](/dev-tools/bundles/resources.md#model_serving_endpoint )
* - models
- Map
- The model definitions for the bundle. See [_ ](/dev-tools/bundles/resources.md#model )
* - pipelines
- Map
- The pipeline definitions for the bundle. See [_ ](/dev-tools/bundles/resources.md#pipeline )
* - quality_monitors
- Map
- The quality monitor definitions for the bundle. See [_ ](/dev-tools/bundles/resources.md#quality_monitor )
* - registered_models
- Map
- The registered model definitions for the bundle. See [_ ](/dev-tools/bundles/resources.md#registered_model )
* - schemas
- Map
- The schema definitions for the bundle. See [_ ](/dev-tools/bundles/resources.md#schema )
* - volumes
- Map
-
2024-12-18 19:53:38 +00:00
## run_as
2024-12-18 20:12:44 +00:00
2024-12-18 19:53:38 +00:00
The identity to use to run the bundle.
2024-12-18 18:20:13 +00:00
.. list-table::
:header-rows: 1
* - Key
- Type
- Description
2024-12-18 19:53:38 +00:00
* - service_principal_name
- String
-
2024-12-18 18:20:13 +00:00
2024-12-18 19:53:38 +00:00
* - user_name
- String
-
## sync
2024-12-18 20:12:44 +00:00
2024-12-18 19:53:38 +00:00
The files and file paths to include or exclude in the bundle. See [_ ](/dev-tools/bundles/ )
2024-12-18 18:20:13 +00:00
.. list-table::
:header-rows: 1
* - Key
- Type
- Description
2024-12-18 19:53:38 +00:00
* - exclude
- Sequence
- A list of files or folders to exclude from the bundle.
2024-12-18 18:20:13 +00:00
2024-12-18 19:53:38 +00:00
* - include
- Sequence
- A list of files or folders to include in the bundle.
2024-12-18 18:20:13 +00:00
2024-12-18 19:53:38 +00:00
* - paths
- Sequence
- The local folder paths, which can be outside the bundle root, to synchronize to the workspace when the bundle is deployed.
2024-12-18 18:20:13 +00:00
2024-12-18 19:53:38 +00:00
## targets
2024-12-18 20:12:44 +00:00
2024-12-18 19:53:38 +00:00
Defines deployment targets for the bundle.
2024-12-18 18:20:13 +00:00
2024-12-18 19:53:38 +00:00
.. list-table::
:header-rows: 1
2024-12-18 18:20:13 +00:00
2024-12-18 19:53:38 +00:00
* - Key
- Type
- Description
2024-12-18 18:20:13 +00:00
2024-12-18 19:53:38 +00:00
* - < targets-entry-name >
2024-12-18 18:20:13 +00:00
- Map
2024-12-18 19:53:38 +00:00
- Item of the `targets` map
2024-12-18 18:20:13 +00:00
2024-12-18 19:53:38 +00:00
Each item has the following attributes:
2024-12-18 18:20:13 +00:00
2024-12-18 19:53:38 +00:00
.. list-table::
:header-rows: 1
2024-12-18 18:20:13 +00:00
2024-12-18 19:53:38 +00:00
* - Key
- Type
- Description
2024-12-18 18:20:13 +00:00
2024-12-18 19:53:38 +00:00
* - artifacts
2024-12-18 18:20:13 +00:00
- Map
2024-12-18 19:53:38 +00:00
- The artifacts to include in the target deployment. See [_ ](#artifact )
2024-12-18 18:20:13 +00:00
2024-12-18 19:53:38 +00:00
* - bundle
- Map
- The name of the bundle when deploying to this target.
2024-12-18 18:20:13 +00:00
2024-12-18 19:53:38 +00:00
* - cluster_id
2024-12-18 18:20:13 +00:00
- String
2024-12-18 19:53:38 +00:00
- The ID of the cluster to use for this target.
2024-12-18 18:20:13 +00:00
2024-12-18 19:53:38 +00:00
* - compute_id
2024-12-18 18:20:13 +00:00
- String
2024-12-18 19:53:38 +00:00
- Deprecated. The ID of the compute to use for this target.
2024-12-18 18:20:13 +00:00
2024-12-18 19:53:38 +00:00
* - default
- Boolean
- Whether this target is the default target.
2024-12-18 18:20:13 +00:00
2024-12-18 19:53:38 +00:00
* - git
- Map
- The Git version control settings for the target. See [_ ](#git ).
2024-12-18 18:20:13 +00:00
2024-12-18 19:53:38 +00:00
* - mode
2024-12-18 18:20:13 +00:00
- String
2024-12-18 19:53:38 +00:00
- The deployment mode for the target. Valid values are `development` or `production` . See [_ ](/dev-tools/bundles/deployment-modes.md ).
2024-12-18 18:20:13 +00:00
2024-12-18 19:53:38 +00:00
* - permissions
- Sequence
- The permissions for deploying and running the bundle in the target. See [_ ](#permission ).
2024-12-18 18:20:13 +00:00
2024-12-18 19:53:38 +00:00
* - presets
- Map
- The deployment presets for the target. See [_ ](#preset ).
2024-12-18 18:20:13 +00:00
2024-12-18 19:53:38 +00:00
* - resources
2024-12-18 18:20:13 +00:00
- Map
2024-12-18 19:53:38 +00:00
- The resource definitions for the target. See [_ ](#resources ).
2024-12-18 18:20:13 +00:00
2024-12-18 19:53:38 +00:00
* - run_as
2024-12-18 18:20:13 +00:00
- Map
2024-12-18 19:53:38 +00:00
- The identity to use to run the bundle. See [_ ](#job_run_as ) and [_ ](/dev-tools/bundles/run_as.md ).
2024-12-18 18:20:13 +00:00
2024-12-18 19:53:38 +00:00
* - sync
- Map
- The local paths to sync to the target workspace when a bundle is run or deployed. See [_ ](#sync ).
2024-12-18 18:20:13 +00:00
2024-12-18 19:53:38 +00:00
* - variables
- Map
- The custom variable definitions for the target. See [_ ](/dev-tools/bundles/settings.md#variables ) and [_ ](/dev-tools/bundles/variables.md ).
2024-12-18 18:20:13 +00:00
2024-12-18 19:53:38 +00:00
* - workspace
2024-12-18 18:20:13 +00:00
- Map
2024-12-18 19:53:38 +00:00
- The Databricks workspace for the target. [_ ](#workspace )
2024-12-18 18:20:13 +00:00
2024-12-18 19:53:38 +00:00
### targets.bundle
2024-12-18 20:12:44 +00:00
2024-12-18 19:53:38 +00:00
The name of the bundle when deploying to this target.
2024-12-18 18:20:13 +00:00
.. list-table::
:header-rows: 1
* - Key
- Type
- Description
2024-12-18 19:53:38 +00:00
* - cluster_id
- String
- The ID of a cluster to use to run the bundle. See [_ ](/dev-tools/bundles/settings.md#cluster_id ).
2024-12-18 18:20:13 +00:00
2024-12-18 19:53:38 +00:00
* - compute_id
2024-12-18 18:20:13 +00:00
- String
-
2024-12-18 19:53:38 +00:00
* - databricks_cli_version
2024-12-18 18:20:13 +00:00
- String
2024-12-18 19:53:38 +00:00
- The Databricks CLI version to use for the bundle. See [_ ](/dev-tools/bundles/settings.md#databricks_cli_version ).
2024-12-18 18:20:13 +00:00
2024-12-18 19:53:38 +00:00
* - deployment
- Map
- The definition of the bundle deployment. For supported attributes, see [_ ](#deployment ) and [_ ](/dev-tools/bundles/deployment-modes.md ).
2024-12-18 18:20:13 +00:00
2024-12-18 19:53:38 +00:00
* - git
- Map
- The Git version control details that are associated with your bundle. For supported attributes, see [_ ](#git ) and [_ ](/dev-tools/bundles/settings.md#git ).
2024-12-18 18:20:13 +00:00
2024-12-18 19:53:38 +00:00
* - name
- String
- The name of the bundle.
2024-12-18 18:20:13 +00:00
2024-12-18 19:53:38 +00:00
* - uuid
2024-12-18 18:20:13 +00:00
- String
2024-12-18 19:53:38 +00:00
-
2024-12-18 18:20:13 +00:00
2024-12-18 19:53:38 +00:00
### targets.bundle.deployment
2024-12-18 20:12:44 +00:00
2024-12-18 19:53:38 +00:00
The definition of the bundle deployment
2024-12-18 18:20:13 +00:00
.. list-table::
:header-rows: 1
* - Key
- Type
- Description
2024-12-18 19:53:38 +00:00
* - fail_on_active_runs
- Boolean
- Whether to fail on active runs. If this is set to true a deployment that is running can be interrupted.
2024-12-18 18:20:13 +00:00
2024-12-18 19:53:38 +00:00
* - lock
2024-12-18 18:20:13 +00:00
- Map
2024-12-18 19:53:38 +00:00
- The deployment lock attributes. See [_ ](#lock ).
2024-12-18 18:20:13 +00:00
2024-12-18 19:53:38 +00:00
### targets.bundle.deployment.lock
2024-12-18 20:12:44 +00:00
2024-12-18 19:53:38 +00:00
The deployment lock attributes.
2024-12-18 18:20:13 +00:00
.. list-table::
:header-rows: 1
* - Key
- Type
- Description
2024-12-18 19:53:38 +00:00
* - enabled
- Boolean
- Whether this lock is enabled.
2024-12-18 18:20:13 +00:00
2024-12-18 19:53:38 +00:00
* - force
- Boolean
- Whether to force this lock if it is enabled.
2024-12-18 18:20:13 +00:00
2024-12-18 19:53:38 +00:00
### targets.bundle.git
2024-12-18 20:12:44 +00:00
2024-12-18 19:53:38 +00:00
The Git version control details that are associated with your bundle.
2024-12-18 18:20:13 +00:00
.. list-table::
:header-rows: 1
* - Key
- Type
- Description
2024-12-18 19:53:38 +00:00
* - branch
- String
- The Git branch name. See [_ ](/dev-tools/bundles/settings.md#git ).
2024-12-18 18:20:13 +00:00
2024-12-18 19:53:38 +00:00
* - origin_url
- String
- The origin URL of the repository. See [_ ](/dev-tools/bundles/settings.md#git ).
2024-12-18 18:20:13 +00:00
2024-12-18 19:53:38 +00:00
### targets.git
2024-12-18 20:12:44 +00:00
2024-12-18 19:53:38 +00:00
The Git version control settings for the target.
2024-12-18 18:20:13 +00:00
.. list-table::
:header-rows: 1
* - Key
- Type
- Description
2024-12-18 19:53:38 +00:00
* - branch
- String
- The Git branch name. See [_ ](/dev-tools/bundles/settings.md#git ).
* - origin_url
2024-12-18 18:20:13 +00:00
- String
2024-12-18 19:53:38 +00:00
- The origin URL of the repository. See [_ ](/dev-tools/bundles/settings.md#git ).
2024-12-18 18:20:13 +00:00
2024-12-18 19:53:38 +00:00
### targets.presets
2024-12-18 20:12:44 +00:00
2024-12-18 19:53:38 +00:00
The deployment presets for the target.
2024-12-18 18:20:13 +00:00
.. list-table::
:header-rows: 1
* - Key
- Type
- Description
2024-12-18 19:53:38 +00:00
* - jobs_max_concurrent_runs
- Integer
- The maximum concurrent runs for a job.
2024-12-18 18:20:13 +00:00
2024-12-18 19:53:38 +00:00
* - name_prefix
2024-12-18 18:20:13 +00:00
- String
2024-12-18 19:53:38 +00:00
- The prefix for job runs of the bundle.
2024-12-18 18:20:13 +00:00
2024-12-18 19:53:38 +00:00
* - pipelines_development
2024-12-18 18:20:13 +00:00
- Boolean
2024-12-18 19:53:38 +00:00
- Whether pipeline deployments should be locked in development mode.
2024-12-18 18:20:13 +00:00
2024-12-18 19:53:38 +00:00
* - source_linked_deployment
- Boolean
- Whether to link the deployment to the bundle source.
2024-12-18 18:20:13 +00:00
2024-12-18 19:53:38 +00:00
* - tags
- Map
- The tags for the bundle deployment.
2024-12-18 18:20:13 +00:00
2024-12-18 19:53:38 +00:00
* - trigger_pause_status
2024-12-18 18:20:13 +00:00
- String
2024-12-18 19:53:38 +00:00
- A pause status to apply to all job triggers and schedules. Valid values are PAUSED or UNPAUSED.
2024-12-18 18:20:13 +00:00
2024-12-18 19:53:38 +00:00
### targets.resources
2024-12-18 20:12:44 +00:00
2024-12-18 19:53:38 +00:00
The resource definitions for the target.
2024-12-18 18:20:13 +00:00
.. list-table::
:header-rows: 1
* - Key
- Type
- Description
2024-12-18 19:53:38 +00:00
* - clusters
2024-12-18 18:20:13 +00:00
- Map
2024-12-18 19:53:38 +00:00
- The cluster definitions for the bundle. See [_ ](/dev-tools/bundles/resources.md#cluster )
2024-12-18 18:20:13 +00:00
2024-12-18 19:53:38 +00:00
* - dashboards
- Map
- The dashboard definitions for the bundle. See [_ ](/dev-tools/bundles/resources.md#dashboard )
2024-12-18 18:20:13 +00:00
2024-12-18 19:53:38 +00:00
* - experiments
- Map
- The experiment definitions for the bundle. See [_ ](/dev-tools/bundles/resources.md#experiment )
2024-12-18 18:20:13 +00:00
2024-12-18 19:53:38 +00:00
* - jobs
- Map
- The job definitions for the bundle. See [_ ](/dev-tools/bundles/resources.md#job )
2024-12-18 18:20:13 +00:00
2024-12-18 19:53:38 +00:00
* - model_serving_endpoints
- Map
- The model serving endpoint definitions for the bundle. See [_ ](/dev-tools/bundles/resources.md#model_serving_endpoint )
2024-12-18 18:20:13 +00:00
2024-12-18 19:53:38 +00:00
* - models
- Map
- The model definitions for the bundle. See [_ ](/dev-tools/bundles/resources.md#model )
2024-12-18 18:20:13 +00:00
2024-12-18 19:53:38 +00:00
* - pipelines
- Map
- The pipeline definitions for the bundle. See [_ ](/dev-tools/bundles/resources.md#pipeline )
2024-12-18 18:20:13 +00:00
2024-12-18 19:53:38 +00:00
* - quality_monitors
- Map
- The quality monitor definitions for the bundle. See [_ ](/dev-tools/bundles/resources.md#quality_monitor )
2024-12-18 18:20:13 +00:00
2024-12-18 19:53:38 +00:00
* - registered_models
- Map
- The registered model definitions for the bundle. See [_ ](/dev-tools/bundles/resources.md#registered_model )
2024-12-18 18:20:13 +00:00
2024-12-18 19:53:38 +00:00
* - schemas
- Map
- The schema definitions for the bundle. See [_ ](/dev-tools/bundles/resources.md#schema )
2024-12-18 18:20:13 +00:00
2024-12-18 19:53:38 +00:00
* - volumes
- Map
-
2024-12-18 18:20:13 +00:00
2024-12-18 16:07:09 +00:00
### targets.sync
2024-12-18 20:12:44 +00:00
2024-12-18 16:07:09 +00:00
The local paths to sync to the target workspace when a bundle is run or deployed.
2024-12-18 18:20:13 +00:00
.. list-table::
:header-rows: 1
* - Key
- Type
- Description
* - exclude
- Sequence
- A list of files or folders to exclude from the bundle.
* - include
- Sequence
- A list of files or folders to include in the bundle.
* - paths
- Sequence
- The local folder paths, which can be outside the bundle root, to synchronize to the workspace when the bundle is deployed.
2024-12-18 16:07:09 +00:00
### targets.workspace
2024-12-18 20:12:44 +00:00
2024-12-18 16:07:09 +00:00
The Databricks workspace for the target.
2024-12-18 18:20:13 +00:00
.. list-table::
:header-rows: 1
* - Key
- Type
- Description
* - artifact_path
- String
- The artifact path to use within the workspace for both deployments and workflow runs
* - auth_type
- String
- The authentication type.
* - azure_client_id
- String
- The Azure client ID
* - azure_environment
- String
- The Azure environment
* - azure_login_app_id
- String
- The Azure login app ID
* - azure_tenant_id
- String
- The Azure tenant ID
* - azure_use_msi
- Boolean
- Whether to use MSI for Azure
* - azure_workspace_resource_id
- String
- The Azure workspace resource ID
* - client_id
- String
- The client ID for the workspace
* - file_path
- String
- The file path to use within the workspace for both deployments and workflow runs
* - google_service_account
- String
- The Google service account name
* - host
- String
- The Databricks workspace host URL
* - profile
- String
- The Databricks workspace profile name
* - resource_path
- String
- The workspace resource path
* - root_path
- String
- The Databricks workspace root path
* - state_path
- String
- The workspace state path
2024-12-18 16:07:09 +00:00
## variables
2024-12-18 20:12:44 +00:00
2024-12-18 16:07:09 +00:00
A Map that defines the custom variables for the bundle, where each key is the name of the variable, and the value is a Map that defines the variable.
2024-12-18 18:20:13 +00:00
.. list-table::
:header-rows: 1
* - Key
- Type
- Description
2024-12-18 18:59:08 +00:00
* - < variables-entry-name >
2024-12-18 18:20:13 +00:00
- Map
2024-12-18 18:59:08 +00:00
- Item of the `variables` map
2024-12-18 18:20:13 +00:00
2024-12-18 16:07:09 +00:00
Each item has the following attributes:
2024-12-18 18:20:13 +00:00
.. list-table::
:header-rows: 1
* - Key
- Type
- Description
* - default
- Any
-
* - description
- String
- The description of the variable
* - lookup
- Map
- The name of the `alert` , `cluster_policy` , `cluster` , `dashboard` , `instance_pool` , `job` , `metastore` , `pipeline` , `query` , `service_principal` , or `warehouse` object for which to retrieve an ID."
* - type
- String
- The type of the variable.
2024-12-18 16:07:09 +00:00
### variables.lookup
2024-12-18 20:12:44 +00:00
2024-12-18 16:07:09 +00:00
The name of the alert, cluster_policy, cluster, dashboard, instance_pool, job, metastore, pipeline, query, service_principal, or warehouse object for which to retrieve an ID.
2024-12-18 18:20:13 +00:00
.. list-table::
:header-rows: 1
* - Key
- Type
- Description
* - alert
- String
-
* - cluster
- String
-
* - cluster_policy
- String
-
* - dashboard
- String
-
* - instance_pool
- String
-
* - job
- String
-
* - metastore
- String
-
* - notification_destination
- String
-
* - pipeline
- String
-
* - query
- String
-
* - service_principal
- String
-
* - warehouse
- String
-
2024-12-18 16:07:09 +00:00
## workspace
2024-12-18 20:12:44 +00:00
2024-12-18 16:07:09 +00:00
Defines the Databricks workspace for the bundle.
2024-12-18 18:20:13 +00:00
.. list-table::
:header-rows: 1
* - Key
- Type
- Description
* - artifact_path
- String
- The artifact path to use within the workspace for both deployments and workflow runs
* - auth_type
- String
- The authentication type.
* - azure_client_id
- String
- The Azure client ID
* - azure_environment
- String
- The Azure environment
* - azure_login_app_id
- String
- The Azure login app ID
* - azure_tenant_id
- String
- The Azure tenant ID
* - azure_use_msi
- Boolean
- Whether to use MSI for Azure
* - azure_workspace_resource_id
- String
- The Azure workspace resource ID
* - client_id
- String
- The client ID for the workspace
* - file_path
- String
- The file path to use within the workspace for both deployments and workflow runs
* - google_service_account
- String
- The Google service account name
* - host
- String
- The Databricks workspace host URL
* - profile
- String
- The Databricks workspace profile name
* - resource_path
- String
- The workspace resource path
* - root_path
- String
- The Databricks workspace root path
* - state_path
- String
- The workspace state path