Commit Graph

1 Commits

Author SHA1 Message Date
Anton Nekipelov e5f39b5916
Add support for experiments in deployment bind/unbind commands (#2434)
## Changes
1. Changed `FindResourceByConfigKey` to return experiment resources

## Why
This PR adds support for experiment resources in deployment operations,
enabling users to:
- Bind experiments using `databricks bundle deployment bind
<myexperiment_key> <experiment_id>`
- Unbind experiments using `databricks bundle deployment unbind
<myexperiment_key>`

Where:
- `myexperiment_key` is a resource key defined in the bundle's .yml file
- `experiment_id` references an existing experiment in the Databricks
workspace

These capabilities allow for more flexible resource management of
experiments within bundles.

## Tests
Added a new acceptance test that tests bind and unbind methods together
with bundle deployment and destruction.
2025-03-17 15:13:40 +00:00