Skip to content

Commit

Permalink
add acceptance/bundle/variables/complex-cross-ref (it passes on main,…
Browse files Browse the repository at this point in the history
… added for completeness)
  • Loading branch information
denik committed Jan 16, 2025
1 parent d2c79c8 commit 56267a7
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 0 deletions.
12 changes: 12 additions & 0 deletions acceptance/bundle/variables/complex-cross-ref/databricks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
bundle:
name: complex-cross-ref

variables:
a:
default:
a_1: 500
a_2: ${var.b.b_2}
b:
default:
b_1: ${var.a.a_1}
b_2: 2.5
22 changes: 22 additions & 0 deletions acceptance/bundle/variables/complex-cross-ref/output.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"a": {
"default": {
"a_1": 500,
"a_2": 2.5
},
"value": {
"a_1": 500,
"a_2": 2.5
}
},
"b": {
"default": {
"b_1": 500,
"b_2": 2.5
},
"value": {
"b_1": 500,
"b_2": 2.5
}
}
}
1 change: 1 addition & 0 deletions acceptance/bundle/variables/complex-cross-ref/script
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
$CLI bundle validate -o json | jq .variables

0 comments on commit 56267a7

Please sign in to comment.