mirror of https://github.com/databricks/cli.git
a95b1c7dcf
## Changes Variable substitution works as if the variable reference is literally replaced with its contents. The following fields should be interpreted in the same way regardless of where the variable is defined: ```yaml foo: ${var.some_path} bar: "./${var.some_path}" ``` Before this change, `foo` would inherit the location information of the variable definition. After this change, it uses the location information of the variable reference, making the behavior for `foo` and `bar` identical. Fixes #1330. ## Tests The new test passes only with the fix. |
||
---|---|---|
.. | ||
lookup.go | ||
lookup_test.go | ||
ref.go | ||
ref_test.go | ||
resolve.go | ||
resolve_test.go |