databricks-cli/bundle/config/resources
Andrew Nester 56ed9bebf3
Added support for creating all-purpose clusters (#1698)
## Changes
Added support for creating all-purpose clusters

Example of configuration

```
bundle:
  name: clusters

resources:
  clusters:
    test_cluster:
      cluster_name: "Test Cluster"
      num_workers: 2
      node_type_id: "i3.xlarge"
      autoscale:
        min_workers: 2
        max_workers: 7
      spark_version: "13.3.x-scala2.12"
      spark_conf:
        "spark.executor.memory": "2g"

  jobs:
    test_job:
      name: "Test Job"
      tasks:
        - task_key: test_task
          existing_cluster_id: ${resources.clusters.test_cluster.id}
          notebook_task:
            notebook_path: "./src/test.py"

targets:
    development:
      mode: development
      compute_id: ${resources.clusters.test_cluster.id}

```

## Tests
Added unit, config and E2E tests
2024-09-23 10:42:34 +00:00
..
clusters.go Added support for creating all-purpose clusters (#1698) 2024-09-23 10:42:34 +00:00
grant.go Support Unity Catalog Registered Models in bundles (#846) 2023-10-16 15:32:49 +00:00
job.go Stop tracking file path locations in bundle resources (#1673) 2024-08-13 12:50:15 +00:00
mlflow_experiment.go Stop tracking file path locations in bundle resources (#1673) 2024-08-13 12:50:15 +00:00
mlflow_model.go Stop tracking file path locations in bundle resources (#1673) 2024-08-13 12:50:15 +00:00
model_serving_endpoint.go Stop tracking file path locations in bundle resources (#1673) 2024-08-13 12:50:15 +00:00
modified_status.go Add "bundle summary" command (#1123) 2024-01-25 11:32:47 +00:00
permission.go Add permissions block to each resource (#264) 2023-03-21 10:58:16 +01:00
pipeline.go Stop tracking file path locations in bundle resources (#1673) 2024-08-13 12:50:15 +00:00
quality_monitor.go Stop tracking file path locations in bundle resources (#1673) 2024-08-13 12:50:15 +00:00
registered_model.go Stop tracking file path locations in bundle resources (#1673) 2024-08-13 12:50:15 +00:00
schema.go Add resource for UC schemas to DABs (#1413) 2024-07-31 12:16:28 +00:00