databricks-cli/bundle/tests/variables/env_overrides/databricks.yml

53 lines
872 B
YAML
Raw Permalink Normal View History

variables:
a:
description: optional variable
default: default-a
b:
description: required variable
d:
description: variable with lookup
lookup:
cluster: some-cluster
e:
description: variable with lookup
lookup:
instance_pool: some-pool
bundle:
name: test bundle
workspace:
profile: ${var.a} ${var.b}
targets:
env-with-single-variable-override:
variables:
b: dev-b
env-missing-a-required-variable-assignment:
variables:
a: staging-a
env-with-two-variable-overrides:
variables:
a: prod-a
b: prod-b
env-using-an-undefined-variable:
variables:
c: prod-c
b: prod-b
env-overrides-lookup:
variables:
d:
lookup:
cluster: some-test-cluster
e:
lookup:
instance_pool: some-test-instance-pool
b: prod-b