2025-01-29 12:14:21 +00:00
---
description: Configuration reference for databricks.yml
---
2025-01-28 10:16:38 +00:00
<!-- DO NOT EDIT. This file is autogenerated with https://github.com/databricks/cli -->
2025-01-29 12:14:21 +00:00
# Configuration reference
2025-02-24 16:23:12 +00:00
This article provides reference for keys supported by Databricks Asset Bundles configuration (YAML). See [\_ ](/dev-tools/bundles/index.md ).
2025-01-29 12:14:21 +00:00
2025-02-24 16:23:12 +00:00
For complete bundle examples, see [\_ ](/dev-tools/bundles/resource-examples.md ) and the [bundle-examples GitHub repository ](https://github.com/databricks/bundle-examples ).
2025-01-29 12:14:21 +00:00
## artifacts
2025-02-24 16:23:12 +00:00
2025-01-29 12:14:21 +00:00
**`Type: Map`**
2025-02-24 16:23:12 +00:00
Defines the attributes to build artifacts, where each key is the name of the artifact, and the value is a Map that defines the artifact build settings. For information about the `artifacts` mapping, see [\_ ](/dev-tools/bundles/settings.md#artifacts ).
Artifact settings defined in the top level of the bundle configuration can be overridden in the `targets` mapping. See [\_ ](/dev-tools/bundles/artifact-overrides.md ).
2025-01-29 12:14:21 +00:00
```yaml
artifacts:
< artifact-name > :
< artifact-field-name > : < artifact-field-value >
```
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
:::list-table
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - Key
- Type
- Description
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - `build`
- String
- An optional set of non-default build commands to run locally before deployment.
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - `executable`
- String
- The executable type. Valid values are `bash` , `sh` , and `cmd` .
2025-02-24 16:23:12 +00:00
< < < < < < < HEAD
2025-01-28 10:16:38 +00:00
- - `files`
2025-02-24 16:23:12 +00:00
- Sequence
- # The source files for the artifact. See [\_ ](#artifactsnamefiles ).
* - `files` - Sequence - The source files for the artifact. See [\_ ](#artifactsnamefiles ).
> > > > > > > 4881fd873b6b615c79e5e792cdf62aac86d49642
2025-01-28 10:16:38 +00:00
- - `path`
- String
- The location where the built artifact will be saved.
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - `type`
- String
- Required. The type of the artifact. Valid values are `whl` .
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
:::
2025-02-24 16:23:12 +00:00
2025-01-29 12:14:21 +00:00
**Example**
2025-02-24 16:23:12 +00:00
2025-01-29 12:14:21 +00:00
```yaml
artifacts:
default:
type: whl
build: poetry build
path: .
```
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
### artifacts.\<name\>.files
2025-02-24 16:23:12 +00:00
2025-01-29 12:14:21 +00:00
**`Type: Sequence`**
2025-02-24 16:23:12 +00:00
2025-01-29 12:14:21 +00:00
The source files for the artifact.
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
:::list-table
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - Key
- Type
- Description
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - `source`
- String
- Required. The path of the files used to build the artifact.
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
:::
2025-02-24 16:23:12 +00:00
2025-01-29 12:14:21 +00:00
## bundle
2025-02-24 16:23:12 +00:00
2025-01-29 12:14:21 +00:00
**`Type: Map`**
2025-02-24 16:23:12 +00:00
2025-01-29 12:14:21 +00:00
The bundle attributes when deploying to this target,
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
:::list-table
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - Key
- Type
- Description
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - `cluster_id`
- String
2025-02-24 16:23:12 +00:00
- The ID of a cluster to use to run the bundle. See [\_ ](/dev-tools/bundles/settings.md#cluster_id ).
2025-01-28 10:16:38 +00:00
- - `compute_id`
- String
2025-02-24 16:23:12 +00:00
-
2025-01-28 10:16:38 +00:00
- - `databricks_cli_version`
- String
2025-02-24 16:23:12 +00:00
- The Databricks CLI version to use for the bundle. See [\_ ](/dev-tools/bundles/settings.md#databricks_cli_version ).
< < < < < < < HEAD
2025-01-28 10:16:38 +00:00
- - `deployment`
- Map
2025-02-24 16:23:12 +00:00
- The definition of the bundle deployment. For supported attributes see [\_ ](/dev-tools/bundles/deployment-modes.md ). See [\_ ](#bundledeployment ).
2025-01-28 10:16:38 +00:00
- - `git`
2025-02-24 16:23:12 +00:00
- Map
- # The Git version control details that are associated with your bundle. For supported attributes see [\_ ](/dev-tools/bundles/settings.md#git ). See [\_ ](#bundlegit ).
* - `deployment`
- Map
- The definition of the bundle deployment. For supported attributes see [\_ ](/dev-tools/bundles/deployment-modes.md ). See [\_ ](#bundledeployment ).
* - `git` - Map - The Git version control details that are associated with your bundle. For supported attributes see [\_ ](/dev-tools/bundles/settings.md#git ). See [\_ ](#bundlegit ).
> > > > > > > 4881fd873b6b615c79e5e792cdf62aac86d49642
2025-01-28 10:16:38 +00:00
- - `name`
- String
- The name of the bundle.
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - `uuid`
- String
- Reserved. A Universally Unique Identifier (UUID) for the bundle that uniquely identifies the bundle in internal Databricks systems. This is generated when a bundle project is initialized using a Databricks template (using the `databricks bundle init` command).
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
:::
2025-02-24 16:23:12 +00:00
2025-01-29 12:14:21 +00:00
### bundle.deployment
2025-02-24 16:23:12 +00:00
2025-01-29 12:14:21 +00:00
**`Type: Map`**
2025-02-24 16:23:12 +00:00
The definition of the bundle deployment. For supported attributes see [\_ ](/dev-tools/bundles/deployment-modes.md ).
2025-01-28 10:16:38 +00:00
:::list-table
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - Key
- Type
- Description
2025-02-24 16:23:12 +00:00
2025-01-28 10:16: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.
2025-02-24 16:23:12 +00:00
< < < < < < < HEAD
2025-01-28 10:16:38 +00:00
- - `lock`
- Map
2025-02-24 16:23:12 +00:00
- The deployment lock attributes. See [\_ ](#bundledeploymentlock ).
# :::
- - `lock` - Map - The deployment lock attributes. See [\_ ](#bundledeploymentlock ).
> > > > > > > 4881fd873b6b615c79e5e792cdf62aac86d49642
2025-01-29 12:14:21 +00:00
### bundle.deployment.lock
2025-02-24 16:23:12 +00:00
2025-01-29 12:14:21 +00:00
**`Type: Map`**
2025-02-24 16:23:12 +00:00
2025-01-29 12:14:21 +00:00
The deployment lock attributes.
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
:::list-table
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - Key
- Type
- Description
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - `enabled`
- Boolean
- Whether this lock is enabled.
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - `force`
- Boolean
- Whether to force this lock if it is enabled.
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
:::
2025-02-24 16:23:12 +00:00
2025-01-29 12:14:21 +00:00
### bundle.git
2025-02-24 16:23:12 +00:00
2025-01-29 12:14:21 +00:00
**`Type: Map`**
2025-02-24 16:23:12 +00:00
The Git version control details that are associated with your bundle. For supported attributes see [\_ ](/dev-tools/bundles/settings.md#git ).
2025-01-28 10:16:38 +00:00
:::list-table
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - Key
- Type
- Description
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - `branch`
- String
2025-02-24 16:23:12 +00:00
- The Git branch name. See [\_ ](/dev-tools/bundles/settings.md#git ).
2025-01-28 10:16:38 +00:00
- - `origin_url`
- String
2025-02-24 16:23:12 +00:00
- The origin URL of the repository. See [\_ ](/dev-tools/bundles/settings.md#git ).
2025-01-28 10:16:38 +00:00
:::
2025-02-24 16:23:12 +00:00
2025-01-29 12:14:21 +00:00
## experimental
2025-02-24 16:23:12 +00:00
2025-01-29 12:14:21 +00:00
**`Type: Map`**
2025-02-24 16:23:12 +00:00
2025-01-29 12:14:21 +00:00
Defines attributes for experimental features.
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
:::list-table
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - Key
- Type
- Description
2025-02-24 16:23:12 +00:00
< < < < < < < HEAD
2025-01-28 10:16:38 +00:00
- - `pydabs`
- Map
2025-02-24 16:23:12 +00:00
- The PyDABs configuration. See [\_ ](#experimentalpydabs ).
2025-01-28 10:16:38 +00:00
- - `python`
2025-02-24 16:23:12 +00:00
- Map
- # Configures loading of Python code defined with 'databricks-bundles' package. See [\_ ](#experimentalpython ).
* - `pydabs`
- Map
- The PyDABs configuration. See [\_ ](#experimentalpydabs ).
* - `python` - Map - Configures loading of Python code defined with 'databricks-bundles' package. See [\_ ](#experimentalpython ).
> > > > > > > 4881fd873b6b615c79e5e792cdf62aac86d49642
2025-01-28 10:16:38 +00:00
- - `python_wheel_wrapper`
- Boolean
- Whether to use a Python wheel wrapper.
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - `scripts`
- Map
- The commands to run.
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - `use_legacy_run_as`
- Boolean
- Whether to use the legacy run_as behavior.
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
:::
2025-02-24 16:23:12 +00:00
2025-01-29 12:14:21 +00:00
### experimental.pydabs
2025-02-24 16:23:12 +00:00
2025-01-29 12:14:21 +00:00
**`Type: Map`**
2025-02-24 16:23:12 +00:00
2025-01-29 12:14:21 +00:00
The PyDABs configuration.
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
:::list-table
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - Key
- Type
- Description
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - `enabled`
- Boolean
- Whether or not PyDABs (Private Preview) is enabled
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - `import`
- Sequence
- The PyDABs project to import to discover resources, resource generator and mutators
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - `venv_path`
- String
- The Python virtual environment path
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
:::
2025-02-24 16:23:12 +00:00
2025-01-29 12:14:21 +00:00
### experimental.python
2025-02-24 16:23:12 +00:00
2025-01-29 12:14:21 +00:00
**`Type: Map`**
2025-02-24 16:23:12 +00:00
2025-01-29 12:14:21 +00:00
Configures loading of Python code defined with 'databricks-bundles' package.
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
:::list-table
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - Key
- Type
- Description
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - `mutators`
- Sequence
2025-02-24 16:23:12 +00:00
- Mutators contains a list of fully qualified function paths to mutator functions. Example: ["my_project.mutators:add_default_cluster"]
2025-01-28 10:16:38 +00:00
- - `resources`
- Sequence
2025-02-24 16:23:12 +00:00
- Resources contains a list of fully qualified function paths to load resources defined in Python code. Example: ["my_project.resources:load_resources"]
2025-01-28 10:16:38 +00:00
- - `venv_path`
- String
2025-02-24 16:23:12 +00:00
- VEnvPath is path to the virtual environment. If enabled, Python code will execute within this environment. If disabled, it defaults to using the Python interpreter available in the current shell.
2025-01-28 10:16:38 +00:00
:::
2025-02-24 16:23:12 +00:00
2025-01-29 12:14:21 +00:00
## include
2025-02-24 16:23:12 +00:00
2025-01-29 12:14:21 +00:00
**`Type: Sequence`**
2025-02-24 16:23:12 +00:00
Specifies a list of path globs that contain configuration files to include within the bundle. See [\_ ](/dev-tools/bundles/settings.md#include )
2025-01-29 12:14:21 +00:00
## permissions
2025-02-24 16:23:12 +00:00
2025-01-29 12:14:21 +00:00
**`Type: Sequence`**
2025-02-24 16:23:12 +00:00
2025-01-29 12:14:21 +00:00
A Sequence that defines the permissions to apply to experiments, jobs, pipelines, and models defined in the bundle, where each item in the sequence is a permission for a specific entity.
2025-02-24 16:23:12 +00:00
See [\_ ](/dev-tools/bundles/settings.md#permissions ) and [\_ ](/dev-tools/bundles/permissions.md ).
2025-01-28 10:16:38 +00:00
:::list-table
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - Key
- Type
- Description
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - `group_name`
- String
- The name of the group that has the permission set in level.
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - `level`
- String
- The allowed permission for user, group, service principal defined for this permission.
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - `service_principal_name`
- String
- The name of the service principal that has the permission set in level.
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - `user_name`
- String
- The name of the user that has the permission set in level.
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
:::
2025-02-24 16:23:12 +00:00
2025-01-29 12:14:21 +00:00
**Example**
2025-02-24 16:23:12 +00:00
2025-01-29 12:14:21 +00:00
```yaml
permissions:
- level: CAN_VIEW
group_name: test-group
- level: CAN_MANAGE
user_name: someone@example.com
- level: CAN_RUN
service_principal_name: 123456-abcdef
```
2025-02-24 16:23:12 +00:00
2025-01-29 12:14:21 +00:00
## presets
2025-02-24 16:23:12 +00:00
2025-01-29 12:14:21 +00:00
**`Type: Map`**
2025-02-24 16:23:12 +00:00
Defines bundle deployment presets. See [\_ ](/dev-tools/bundles/deployment-modes.md#presets ).
2025-01-28 10:16:38 +00:00
:::list-table
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - Key
- Type
- Description
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - `jobs_max_concurrent_runs`
- Integer
- The maximum concurrent runs for a job.
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - `name_prefix`
- String
- The prefix for job runs of the bundle.
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - `pipelines_development`
- Boolean
- Whether pipeline deployments should be locked in development mode.
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - `source_linked_deployment`
- Boolean
- Whether to link the deployment to the bundle source.
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - `tags`
- Map
- The tags for the bundle deployment.
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - `trigger_pause_status`
- String
- A pause status to apply to all job triggers and schedules. Valid values are PAUSED or UNPAUSED.
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
:::
2025-02-24 16:23:12 +00:00
2025-01-29 12:14:21 +00:00
## resources
2025-02-24 16:23:12 +00:00
2025-01-29 12:14:21 +00:00
**`Type: Map`**
2025-02-24 16:23:12 +00:00
A Map that defines the resources for the bundle, where each key is the name of the resource, and the value is a Map that defines the resource. For more information about Databricks Asset Bundles supported resources, and resource definition reference, see [\_ ](/dev-tools/bundles/resources.md ).
2025-01-29 12:14:21 +00:00
```yaml
resources:
< resource-type > :
< resource-name > :
< resource-field-name > : < resource-field-value >
```
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
:::list-table
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - Key
- Type
- Description
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - `apps`
- Map
2025-02-24 16:23:12 +00:00
-
2025-01-28 10:16:38 +00:00
- - `clusters`
- Map
2025-02-24 16:23:12 +00:00
- The cluster definitions for the bundle, where each key is the name of a cluster. See [\_ ](/dev-tools/bundles/resources.md#clusters )
2025-01-28 10:16:38 +00:00
- - `dashboards`
- Map
2025-02-24 16:23:12 +00:00
- The dashboard definitions for the bundle, where each key is the name of the dashboard. See [\_ ](/dev-tools/bundles/resources.md#dashboards )
2025-01-28 10:16:38 +00:00
- - `experiments`
- Map
2025-02-24 16:23:12 +00:00
- The experiment definitions for the bundle, where each key is the name of the experiment. See [\_ ](/dev-tools/bundles/resources.md#experiments )
2025-01-28 10:16:38 +00:00
- - `jobs`
- Map
2025-02-24 16:23:12 +00:00
- The job definitions for the bundle, where each key is the name of the job. See [\_ ](/dev-tools/bundles/resources.md#jobs )
2025-01-28 10:16:38 +00:00
- - `model_serving_endpoints`
- Map
2025-02-24 16:23:12 +00:00
- The model serving endpoint definitions for the bundle, where each key is the name of the model serving endpoint. See [\_ ](/dev-tools/bundles/resources.md#model_serving_endpoints )
2025-01-28 10:16:38 +00:00
- - `models`
- Map
2025-02-24 16:23:12 +00:00
- The model definitions for the bundle, where each key is the name of the model. See [\_ ](/dev-tools/bundles/resources.md#models )
2025-01-28 10:16:38 +00:00
- - `pipelines`
- Map
2025-02-24 16:23:12 +00:00
- The pipeline definitions for the bundle, where each key is the name of the pipeline. See [\_ ](/dev-tools/bundles/resources.md#pipelines )
2025-01-28 10:16:38 +00:00
- - `quality_monitors`
- Map
2025-02-24 16:23:12 +00:00
- The quality monitor definitions for the bundle, where each key is the name of the quality monitor. See [\_ ](/dev-tools/bundles/resources.md#quality_monitors )
2025-01-28 10:16:38 +00:00
- - `registered_models`
- Map
2025-02-24 16:23:12 +00:00
- The registered model definitions for the bundle, where each key is the name of the Unity Catalog registered model. See [\_ ](/dev-tools/bundles/resources.md#registered_models )
2025-01-28 10:16:38 +00:00
- - `schemas`
- Map
2025-02-24 16:23:12 +00:00
- The schema definitions for the bundle, where each key is the name of the schema. See [\_ ](/dev-tools/bundles/resources.md#schemas )
2025-01-28 10:16:38 +00:00
- - `volumes`
- Map
2025-02-24 16:23:12 +00:00
- The volume definitions for the bundle, where each key is the name of the volume. See [\_ ](/dev-tools/bundles/resources.md#volumes )
2025-01-28 10:16:38 +00:00
:::
2025-02-24 16:23:12 +00:00
2025-01-29 12:14:21 +00:00
## run_as
2025-02-24 16:23:12 +00:00
2025-01-29 12:14:21 +00:00
**`Type: Map`**
2025-02-24 16:23:12 +00:00
The identity to use when running Databricks Asset Bundles workflows. See [\_ ](/dev-tools/bundles/run-as.md ).
2025-01-28 10:16:38 +00:00
:::list-table
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - Key
- Type
- Description
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - `service_principal_name`
- String
- The application ID of an active service principal. Setting this field requires the `servicePrincipal/user` role.
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - `user_name`
- String
- The email of an active workspace user. Non-admin users can only set this field to their own email.
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
:::
2025-02-24 16:23:12 +00:00
2025-01-29 12:14:21 +00:00
## sync
2025-02-24 16:23:12 +00:00
2025-01-29 12:14:21 +00:00
**`Type: Map`**
2025-02-24 16:23:12 +00:00
The files and file paths to include or exclude in the bundle. See [\_ ](/dev-tools/bundles/settings.md#sync ).
2025-01-28 10:16:38 +00:00
:::list-table
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - Key
- Type
- Description
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - `exclude`
- Sequence
- A list of files or folders to exclude from the bundle.
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - `include`
- Sequence
- A list of files or folders to include in the bundle.
2025-02-24 16:23:12 +00:00
2025-01-28 10:16: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.
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
:::
2025-02-24 16:23:12 +00:00
2025-01-29 12:14:21 +00:00
## targets
2025-02-24 16:23:12 +00:00
2025-01-29 12:14:21 +00:00
**`Type: Map`**
2025-02-24 16:23:12 +00:00
Defines deployment targets for the bundle. See [\_ ](/dev-tools/bundles/settings.md#targets )
2025-01-29 12:14:21 +00:00
```yaml
targets:
< target-name > :
< target-field-name > : < target-field-value >
```
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
:::list-table
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - Key
- Type
- Description
2025-02-24 16:23:12 +00:00
< < < < < < < HEAD
2025-01-28 10:16:38 +00:00
- - `artifacts`
- Map
2025-02-24 16:23:12 +00:00
- The artifacts to include in the target deployment. See [\_ ](#targetsnameartifacts ).
2025-01-28 10:16:38 +00:00
- - `bundle`
2025-02-24 16:23:12 +00:00
- Map
- # The bundle attributes when deploying to this target. See [\_ ](#targetsnamebundle ).
* - `artifacts`
- Map
- The artifacts to include in the target deployment. See [\_ ](#targetsnameartifacts ).
* - `bundle` - Map - The bundle attributes when deploying to this target. See [\_ ](#targetsnamebundle ).
> > > > > > > 4881fd873b6b615c79e5e792cdf62aac86d49642
2025-01-28 10:16:38 +00:00
- - `cluster_id`
- String
- The ID of the cluster to use for this target.
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - `compute_id`
- String
- Deprecated. The ID of the compute to use for this target.
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - `default`
- Boolean
- Whether this target is the default target.
2025-02-24 16:23:12 +00:00
< < < < < < < HEAD
2025-01-28 10:16:38 +00:00
- - `git`
2025-02-24 16:23:12 +00:00
- Map
- # The Git version control settings for the target. See [\_ ](#targetsnamegit ).
* - `git` - Map - The Git version control settings for the target. See [\_ ](#targetsnamegit ).
> > > > > > > 4881fd873b6b615c79e5e792cdf62aac86d49642
2025-01-28 10:16:38 +00:00
- - `mode`
- String
2025-02-24 16:23:12 +00:00
- The deployment mode for the target. Valid values are `development` or `production` . See [\_ ](/dev-tools/bundles/deployment-modes.md ).
< < < < < < < HEAD
2025-01-28 10:16:38 +00:00
- - `permissions`
- Sequence
2025-02-24 16:23:12 +00:00
- The permissions for deploying and running the bundle in the target. See [\_ ](#targetsnamepermissions ).
2025-01-28 10:16:38 +00:00
- - `presets`
- Map
2025-02-24 16:23:12 +00:00
- The deployment presets for the target. See [\_ ](#targetsnamepresets ).
2025-01-28 10:16:38 +00:00
- - `resources`
- Map
2025-02-24 16:23:12 +00:00
- The resource definitions for the target. See [\_ ](#targetsnameresources ).
2025-01-28 10:16:38 +00:00
- - `run_as`
- Map
2025-02-24 16:23:12 +00:00
- The identity to use to run the bundle, see [\_ ](/dev-tools/bundles/run-as.md ). See [\_ ](#targetsnamerun_as ).
2025-01-28 10:16:38 +00:00
- - `sync`
- Map
2025-02-24 16:23:12 +00:00
- The local paths to sync to the target workspace when a bundle is run or deployed. See [\_ ](#targetsnamesync ).
2025-01-28 10:16:38 +00:00
- - `variables`
- Map
2025-02-24 16:23:12 +00:00
- The custom variable definitions for the target. See [\_ ](#targetsnamevariables ).
2025-01-28 10:16:38 +00:00
- - `workspace`
- Map
2025-02-24 16:23:12 +00:00
- The Databricks workspace for the target. See [\_ ](#targetsnameworkspace ).
# :::
- - `permissions`
- Sequence
- The permissions for deploying and running the bundle in the target. See [\_ ](#targetsnamepermissions ).
- - `presets`
- Map
- The deployment presets for the target. See [\_ ](#targetsnamepresets ).
- - `resources`
- Map
- The resource definitions for the target. See [\_ ](#targetsnameresources ).
- - `run_as`
- Map
- The identity to use to run the bundle, see [\_ ](/dev-tools/bundles/run-as.md ). See [\_ ](#targetsnamerun_as ).
- - `sync`
- Map
- The local paths to sync to the target workspace when a bundle is run or deployed. See [\_ ](#targetsnamesync ).
- - `variables`
- Map
- The custom variable definitions for the target. See [\_ ](#targetsnamevariables ).
- - `workspace` - Map - The Databricks workspace for the target. See [\_ ](#targetsnameworkspace ).
> > > > > > > 4881fd873b6b615c79e5e792cdf62aac86d49642
2025-01-28 10:16:38 +00:00
### targets.\<name\>.artifacts
2025-02-24 16:23:12 +00:00
2025-01-29 12:14:21 +00:00
**`Type: Map`**
2025-02-24 16:23:12 +00:00
2025-01-29 12:14:21 +00:00
The artifacts to include in the target deployment.
2025-02-24 16:23:12 +00:00
2025-01-29 12:14:21 +00:00
```yaml
artifacts:
< artifact-name > :
< artifact-field-name > : < artifact-field-value >
```
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
:::list-table
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - Key
- Type
- Description
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - `build`
- String
- An optional set of non-default build commands to run locally before deployment.
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - `executable`
- String
- The executable type. Valid values are `bash` , `sh` , and `cmd` .
2025-02-24 16:23:12 +00:00
< < < < < < < HEAD
2025-01-28 10:16:38 +00:00
- - `files`
2025-02-24 16:23:12 +00:00
- Sequence
- # The source files for the artifact. See [\_ ](#targetsnameartifactsnamefiles ).
* - `files` - Sequence - The source files for the artifact. See [\_ ](#targetsnameartifactsnamefiles ).
> > > > > > > 4881fd873b6b615c79e5e792cdf62aac86d49642
2025-01-28 10:16:38 +00:00
- - `path`
- String
- The location where the built artifact will be saved.
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - `type`
- String
- Required. The type of the artifact. Valid values are `whl` .
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
:::
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
### targets.\<name\>.artifacts.\<name\>.files
2025-02-24 16:23:12 +00:00
2025-01-29 12:14:21 +00:00
**`Type: Sequence`**
2025-02-24 16:23:12 +00:00
2025-01-29 12:14:21 +00:00
The source files for the artifact.
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
:::list-table
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - Key
- Type
- Description
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - `source`
- String
- Required. The path of the files used to build the artifact.
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
:::
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
### targets.\<name\>.bundle
2025-02-24 16:23:12 +00:00
2025-01-29 12:14:21 +00:00
**`Type: Map`**
2025-02-24 16:23:12 +00:00
2025-01-29 12:14:21 +00:00
The bundle attributes when deploying to this target.
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
:::list-table
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - Key
- Type
- Description
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - `cluster_id`
- String
2025-02-24 16:23:12 +00:00
- The ID of a cluster to use to run the bundle. See [\_ ](/dev-tools/bundles/settings.md#cluster_id ).
2025-01-28 10:16:38 +00:00
- - `compute_id`
- String
2025-02-24 16:23:12 +00:00
-
2025-01-28 10:16:38 +00:00
- - `databricks_cli_version`
- String
2025-02-24 16:23:12 +00:00
- The Databricks CLI version to use for the bundle. See [\_ ](/dev-tools/bundles/settings.md#databricks_cli_version ).
< < < < < < < HEAD
2025-01-28 10:16:38 +00:00
- - `deployment`
- Map
2025-02-24 16:23:12 +00:00
- The definition of the bundle deployment. For supported attributes see [\_ ](/dev-tools/bundles/deployment-modes.md ). See [\_ ](#targetsnamebundledeployment ).
2025-01-28 10:16:38 +00:00
- - `git`
2025-02-24 16:23:12 +00:00
- Map
- # The Git version control details that are associated with your bundle. For supported attributes see [\_ ](/dev-tools/bundles/settings.md#git ). See [\_ ](#targetsnamebundlegit ).
* - `deployment`
- Map
- The definition of the bundle deployment. For supported attributes see [\_ ](/dev-tools/bundles/deployment-modes.md ). See [\_ ](#targetsnamebundledeployment ).
* - `git` - Map - The Git version control details that are associated with your bundle. For supported attributes see [\_ ](/dev-tools/bundles/settings.md#git ). See [\_ ](#targetsnamebundlegit ).
> > > > > > > 4881fd873b6b615c79e5e792cdf62aac86d49642
2025-01-28 10:16:38 +00:00
- - `name`
- String
- The name of the bundle.
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - `uuid`
- String
- Reserved. A Universally Unique Identifier (UUID) for the bundle that uniquely identifies the bundle in internal Databricks systems. This is generated when a bundle project is initialized using a Databricks template (using the `databricks bundle init` command).
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
:::
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
### targets.\<name\>.bundle.deployment
2025-02-24 16:23:12 +00:00
2025-01-29 12:14:21 +00:00
**`Type: Map`**
2025-02-24 16:23:12 +00:00
The definition of the bundle deployment. For supported attributes see [\_ ](/dev-tools/bundles/deployment-modes.md ).
2025-01-28 10:16:38 +00:00
:::list-table
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - Key
- Type
- Description
2025-02-24 16:23:12 +00:00
2025-01-28 10:16: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.
2025-02-24 16:23:12 +00:00
< < < < < < < HEAD
2025-01-28 10:16:38 +00:00
- - `lock`
- Map
2025-02-24 16:23:12 +00:00
- The deployment lock attributes. See [\_ ](#targetsnamebundledeploymentlock ).
# :::
- - `lock` - Map - The deployment lock attributes. See [\_ ](#targetsnamebundledeploymentlock ).
> > > > > > > 4881fd873b6b615c79e5e792cdf62aac86d49642
2025-01-28 10:16:38 +00:00
### targets.\<name\>.bundle.deployment.lock
2025-02-24 16:23:12 +00:00
2025-01-29 12:14:21 +00:00
**`Type: Map`**
2025-02-24 16:23:12 +00:00
2025-01-29 12:14:21 +00:00
The deployment lock attributes.
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
:::list-table
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - Key
- Type
- Description
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - `enabled`
- Boolean
- Whether this lock is enabled.
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - `force`
- Boolean
- Whether to force this lock if it is enabled.
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
:::
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
### targets.\<name\>.bundle.git
2025-02-24 16:23:12 +00:00
2025-01-29 12:14:21 +00:00
**`Type: Map`**
2025-02-24 16:23:12 +00:00
The Git version control details that are associated with your bundle. For supported attributes see [\_ ](/dev-tools/bundles/settings.md#git ).
2025-01-28 10:16:38 +00:00
:::list-table
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - Key
- Type
- Description
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - `branch`
- String
2025-02-24 16:23:12 +00:00
- The Git branch name. See [\_ ](/dev-tools/bundles/settings.md#git ).
2025-01-28 10:16:38 +00:00
- - `origin_url`
- String
2025-02-24 16:23:12 +00:00
- The origin URL of the repository. See [\_ ](/dev-tools/bundles/settings.md#git ).
2025-01-28 10:16:38 +00:00
:::
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
### targets.\<name\>.git
2025-02-24 16:23:12 +00:00
2025-01-29 12:14:21 +00:00
**`Type: Map`**
2025-02-24 16:23:12 +00:00
2025-01-29 12:14:21 +00:00
The Git version control settings for the target.
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
:::list-table
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - Key
- Type
- Description
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - `branch`
- String
2025-02-24 16:23:12 +00:00
- The Git branch name. See [\_ ](/dev-tools/bundles/settings.md#git ).
2025-01-28 10:16:38 +00:00
- - `origin_url`
- String
2025-02-24 16:23:12 +00:00
- The origin URL of the repository. See [\_ ](/dev-tools/bundles/settings.md#git ).
2025-01-28 10:16:38 +00:00
:::
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
### targets.\<name\>.permissions
2025-02-24 16:23:12 +00:00
2025-01-29 12:14:21 +00:00
**`Type: Sequence`**
2025-02-24 16:23:12 +00:00
2025-01-29 12:14:21 +00:00
The permissions for deploying and running the bundle in the target.
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
:::list-table
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - Key
- Type
- Description
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - `group_name`
- String
- The name of the group that has the permission set in level.
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - `level`
- String
- The allowed permission for user, group, service principal defined for this permission.
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - `service_principal_name`
- String
- The name of the service principal that has the permission set in level.
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - `user_name`
- String
- The name of the user that has the permission set in level.
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
:::
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
### targets.\<name\>.presets
2025-02-24 16:23:12 +00:00
2025-01-29 12:14:21 +00:00
**`Type: Map`**
2025-02-24 16:23:12 +00:00
2025-01-29 12:14:21 +00:00
The deployment presets for the target.
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
:::list-table
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - Key
- Type
- Description
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - `jobs_max_concurrent_runs`
- Integer
- The maximum concurrent runs for a job.
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - `name_prefix`
- String
- The prefix for job runs of the bundle.
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - `pipelines_development`
- Boolean
- Whether pipeline deployments should be locked in development mode.
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - `source_linked_deployment`
- Boolean
- Whether to link the deployment to the bundle source.
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - `tags`
- Map
- The tags for the bundle deployment.
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - `trigger_pause_status`
- String
- A pause status to apply to all job triggers and schedules. Valid values are PAUSED or UNPAUSED.
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
:::
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
### targets.\<name\>.resources
2025-02-24 16:23:12 +00:00
2025-01-29 12:14:21 +00:00
**`Type: Map`**
2025-02-24 16:23:12 +00:00
2025-01-29 12:14:21 +00:00
The resource definitions for the target.
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
:::list-table
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - Key
- Type
- Description
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - `apps`
- Map
2025-02-24 16:23:12 +00:00
-
2025-01-28 10:16:38 +00:00
- - `clusters`
- Map
2025-02-24 16:23:12 +00:00
- The cluster definitions for the bundle, where each key is the name of a cluster. See [\_ ](/dev-tools/bundles/resources.md#clusters )
2025-01-28 10:16:38 +00:00
- - `dashboards`
- Map
2025-02-24 16:23:12 +00:00
- The dashboard definitions for the bundle, where each key is the name of the dashboard. See [\_ ](/dev-tools/bundles/resources.md#dashboards )
2025-01-28 10:16:38 +00:00
- - `experiments`
- Map
2025-02-24 16:23:12 +00:00
- The experiment definitions for the bundle, where each key is the name of the experiment. See [\_ ](/dev-tools/bundles/resources.md#experiments )
2025-01-28 10:16:38 +00:00
- - `jobs`
- Map
2025-02-24 16:23:12 +00:00
- The job definitions for the bundle, where each key is the name of the job. See [\_ ](/dev-tools/bundles/resources.md#jobs )
2025-01-28 10:16:38 +00:00
- - `model_serving_endpoints`
- Map
2025-02-24 16:23:12 +00:00
- The model serving endpoint definitions for the bundle, where each key is the name of the model serving endpoint. See [\_ ](/dev-tools/bundles/resources.md#model_serving_endpoints )
2025-01-28 10:16:38 +00:00
- - `models`
- Map
2025-02-24 16:23:12 +00:00
- The model definitions for the bundle, where each key is the name of the model. See [\_ ](/dev-tools/bundles/resources.md#models )
2025-01-28 10:16:38 +00:00
- - `pipelines`
- Map
2025-02-24 16:23:12 +00:00
- The pipeline definitions for the bundle, where each key is the name of the pipeline. See [\_ ](/dev-tools/bundles/resources.md#pipelines )
2025-01-28 10:16:38 +00:00
- - `quality_monitors`
- Map
2025-02-24 16:23:12 +00:00
- The quality monitor definitions for the bundle, where each key is the name of the quality monitor. See [\_ ](/dev-tools/bundles/resources.md#quality_monitors )
2025-01-28 10:16:38 +00:00
- - `registered_models`
- Map
2025-02-24 16:23:12 +00:00
- The registered model definitions for the bundle, where each key is the name of the Unity Catalog registered model. See [\_ ](/dev-tools/bundles/resources.md#registered_models )
2025-01-28 10:16:38 +00:00
- - `schemas`
- Map
2025-02-24 16:23:12 +00:00
- The schema definitions for the bundle, where each key is the name of the schema. See [\_ ](/dev-tools/bundles/resources.md#schemas )
2025-01-28 10:16:38 +00:00
- - `volumes`
- Map
2025-02-24 16:23:12 +00:00
- The volume definitions for the bundle, where each key is the name of the volume. See [\_ ](/dev-tools/bundles/resources.md#volumes )
2025-01-28 10:16:38 +00:00
:::
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
### targets.\<name\>.run_as
2025-02-24 16:23:12 +00:00
2025-01-29 12:14:21 +00:00
**`Type: Map`**
2025-02-24 16:23:12 +00:00
The identity to use to run the bundle, see [\_ ](/dev-tools/bundles/run-as.md ).
2025-01-28 10:16:38 +00:00
:::list-table
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - Key
- Type
- Description
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - `service_principal_name`
- String
- The application ID of an active service principal. Setting this field requires the `servicePrincipal/user` role.
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - `user_name`
- String
- The email of an active workspace user. Non-admin users can only set this field to their own email.
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
:::
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
### targets.\<name\>.sync
2025-02-24 16:23:12 +00:00
2025-01-29 12:14:21 +00:00
**`Type: Map`**
2025-02-24 16:23:12 +00:00
2025-01-29 12:14:21 +00:00
The local paths to sync to the target workspace when a bundle is run or deployed.
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
:::list-table
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - Key
- Type
- Description
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - `exclude`
- Sequence
- A list of files or folders to exclude from the bundle.
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - `include`
- Sequence
- A list of files or folders to include in the bundle.
2025-02-24 16:23:12 +00:00
2025-01-28 10:16: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.
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
:::
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
### targets.\<name\>.variables
2025-02-24 16:23:12 +00:00
2025-01-29 12:14:21 +00:00
**`Type: Map`**
2025-02-24 16:23:12 +00:00
2025-01-29 12:14:21 +00:00
The custom variable definitions for the target.
2025-02-24 16:23:12 +00:00
2025-01-29 12:14:21 +00:00
```yaml
variables:
< variable-name > :
< variable-field-name > : < variable-field-value >
```
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
:::list-table
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - Key
- Type
- Description
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - `default`
- Any
2025-02-24 16:23:12 +00:00
-
2025-01-28 10:16:38 +00:00
- - `description`
- String
- The description of the variable.
2025-02-24 16:23:12 +00:00
< < < < < < < HEAD
2025-01-28 10:16:38 +00:00
- - `lookup`
2025-02-24 16:23:12 +00:00
- 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. See [* ](#targetsnamevariablesnamelookup ).
* - `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. See [* ](#targetsnamevariablesnamelookup ).
> > > > > > > 4881fd873b6b615c79e5e792cdf62aac86d49642
2025-01-28 10:16:38 +00:00
- - `type`
- String
- The type of the variable.
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
:::
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
### targets.\<name\>.variables.\<name\>.lookup
2025-02-24 16:23:12 +00:00
2025-01-29 12:14:21 +00:00
**`Type: Map`**
2025-02-24 16:23:12 +00:00
2025-01-29 12:14:21 +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.
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
:::list-table
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - Key
- Type
- Description
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - `alert`
- String
2025-02-24 16:23:12 +00:00
-
2025-01-28 10:16:38 +00:00
- - `cluster`
- String
2025-02-24 16:23:12 +00:00
-
2025-01-28 10:16:38 +00:00
- - `cluster_policy`
- String
2025-02-24 16:23:12 +00:00
-
2025-01-28 10:16:38 +00:00
- - `dashboard`
- String
2025-02-24 16:23:12 +00:00
-
2025-01-28 10:16:38 +00:00
- - `instance_pool`
- String
2025-02-24 16:23:12 +00:00
-
2025-01-28 10:16:38 +00:00
- - `job`
- String
2025-02-24 16:23:12 +00:00
-
2025-01-28 10:16:38 +00:00
- - `metastore`
- String
2025-02-24 16:23:12 +00:00
-
2025-01-28 10:16:38 +00:00
- - `notification_destination`
- String
2025-02-24 16:23:12 +00:00
-
2025-01-28 10:16:38 +00:00
- - `pipeline`
- String
2025-02-24 16:23:12 +00:00
-
2025-01-28 10:16:38 +00:00
- - `query`
- String
2025-02-24 16:23:12 +00:00
-
2025-01-28 10:16:38 +00:00
- - `service_principal`
- String
2025-02-24 16:23:12 +00:00
-
2025-01-28 10:16:38 +00:00
- - `warehouse`
- String
2025-02-24 16:23:12 +00:00
-
2025-01-28 10:16:38 +00:00
:::
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
### targets.\<name\>.workspace
2025-02-24 16:23:12 +00:00
2025-01-29 12:14:21 +00:00
**`Type: Map`**
2025-02-24 16:23:12 +00:00
2025-01-29 12:14:21 +00:00
The Databricks workspace for the target.
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
:::list-table
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - Key
- Type
- Description
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - `artifact_path`
- String
- The artifact path to use within the workspace for both deployments and workflow runs
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - `auth_type`
- String
- The authentication type.
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - `azure_client_id`
- String
- The Azure client ID
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - `azure_environment`
- String
- The Azure environment
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - `azure_login_app_id`
- String
- The Azure login app ID
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - `azure_tenant_id`
- String
- The Azure tenant ID
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - `azure_use_msi`
- Boolean
- Whether to use MSI for Azure
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - `azure_workspace_resource_id`
- String
- The Azure workspace resource ID
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - `client_id`
- String
- The client ID for the workspace
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - `file_path`
- String
- The file path to use within the workspace for both deployments and workflow runs
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - `google_service_account`
- String
- The Google service account name
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - `host`
- String
- The Databricks workspace host URL
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - `profile`
- String
- The Databricks workspace profile name
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - `resource_path`
- String
- The workspace resource path
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - `root_path`
- String
- The Databricks workspace root path
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - `state_path`
- String
- The workspace state path
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
:::
2025-02-24 16:23:12 +00:00
2025-01-29 12:14:21 +00:00
## variables
2025-02-24 16:23:12 +00:00
2025-01-29 12:14:21 +00:00
**`Type: Map`**
2025-02-24 16:23:12 +00:00
Defines a custom variable for the bundle. See [\_ ](/dev-tools/bundles/settings.md#variables ).
2025-01-29 12:14:21 +00:00
```yaml
variables:
< variable-name > :
< variable-field-name > : < variable-field-value >
```
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
:::list-table
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - Key
- Type
- Description
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - `default`
- Any
2025-02-24 16:23:12 +00:00
-
2025-01-28 10:16:38 +00:00
- - `description`
- String
- The description of the variable
2025-02-24 16:23:12 +00:00
< < < < < < < HEAD
2025-01-28 10:16:38 +00:00
- - `lookup`
2025-02-24 16:23:12 +00:00
- 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. See [\_ ](#variablesnamelookup ).
* - `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. See [\_ ](#variablesnamelookup ).
> > > > > > > 4881fd873b6b615c79e5e792cdf62aac86d49642
2025-01-28 10:16:38 +00:00
- - `type`
- String
- The type of the variable.
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
:::
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
### variables.\<name\>.lookup
2025-02-24 16:23:12 +00:00
2025-01-29 12:14:21 +00:00
**`Type: Map`**
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +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.
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
:::list-table
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - Key
- Type
- Description
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - `alert`
- String
2025-02-24 16:23:12 +00:00
-
2025-01-28 10:16:38 +00:00
- - `cluster`
- String
2025-02-24 16:23:12 +00:00
-
2025-01-28 10:16:38 +00:00
- - `cluster_policy`
- String
2025-02-24 16:23:12 +00:00
-
2025-01-28 10:16:38 +00:00
- - `dashboard`
- String
2025-02-24 16:23:12 +00:00
-
2025-01-28 10:16:38 +00:00
- - `instance_pool`
- String
2025-02-24 16:23:12 +00:00
-
2025-01-28 10:16:38 +00:00
- - `job`
- String
2025-02-24 16:23:12 +00:00
-
2025-01-28 10:16:38 +00:00
- - `metastore`
- String
2025-02-24 16:23:12 +00:00
-
2025-01-28 10:16:38 +00:00
- - `notification_destination`
- String
2025-02-24 16:23:12 +00:00
-
2025-01-28 10:16:38 +00:00
- - `pipeline`
- String
2025-02-24 16:23:12 +00:00
-
2025-01-28 10:16:38 +00:00
- - `query`
- String
2025-02-24 16:23:12 +00:00
-
2025-01-28 10:16:38 +00:00
- - `service_principal`
- String
2025-02-24 16:23:12 +00:00
-
2025-01-28 10:16:38 +00:00
- - `warehouse`
- String
2025-02-24 16:23:12 +00:00
-
2025-01-28 10:16:38 +00:00
:::
2025-02-24 16:23:12 +00:00
2025-01-29 12:14:21 +00:00
## workspace
2025-02-24 16:23:12 +00:00
2025-01-29 12:14:21 +00:00
**`Type: Map`**
2025-02-24 16:23:12 +00:00
Defines the Databricks workspace for the bundle. See [\_ ](/dev-tools/bundles/settings.md#workspace ).
2025-01-28 10:16:38 +00:00
:::list-table
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - Key
- Type
- Description
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - `artifact_path`
- String
- The artifact path to use within the workspace for both deployments and workflow runs
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - `auth_type`
- String
- The authentication type.
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - `azure_client_id`
- String
- The Azure client ID
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - `azure_environment`
- String
- The Azure environment
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - `azure_login_app_id`
- String
- The Azure login app ID
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - `azure_tenant_id`
- String
- The Azure tenant ID
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - `azure_use_msi`
- Boolean
- Whether to use MSI for Azure
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - `azure_workspace_resource_id`
- String
- The Azure workspace resource ID
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - `client_id`
- String
- The client ID for the workspace
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - `file_path`
- String
- The file path to use within the workspace for both deployments and workflow runs
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - `google_service_account`
- String
- The Google service account name
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - `host`
- String
- The Databricks workspace host URL
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - `profile`
- String
- The Databricks workspace profile name
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - `resource_path`
- String
- The workspace resource path
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - `root_path`
- String
- The Databricks workspace root path
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
- - `state_path`
- String
- The workspace state path
2025-02-24 16:23:12 +00:00
2025-01-28 10:16:38 +00:00
:::