mirror of https://github.com/databricks/cli.git
36 lines
698 B
YAML
36 lines
698 B
YAML
bundle:
|
|
name: TestResolveVariablesFromFile
|
|
|
|
variables:
|
|
cluster:
|
|
type: "complex"
|
|
cluster_key:
|
|
cluster_workers:
|
|
|
|
resources:
|
|
jobs:
|
|
job1:
|
|
job_clusters:
|
|
- job_cluster_key: ${var.cluster_key}
|
|
new_cluster:
|
|
node_type_id: "${var.cluster.node_type_id}"
|
|
num_workers: ${var.cluster_workers}
|
|
|
|
targets:
|
|
with-defaults:
|
|
default: true
|
|
variables:
|
|
cluster_workers:
|
|
default: 1
|
|
cluster:
|
|
type: "complex"
|
|
default:
|
|
node_type_id: "default"
|
|
cluster_key:
|
|
default: "default"
|
|
|
|
without-defaults:
|
|
|
|
# see .databricks/bundle/default_target/ for variable values
|
|
with-default-variable-file:
|