Describe the issue
Hi team! First of all, thanks for an awesome product!
If I create Databricks bundle configuration file with ${workspace.root_path} for some path I got a warning:
Warning: substring "/Workspace${workspace.root_path}" found in "/Workspace${workspace.root_path}". Please update this to "${workspace.root_path}".
during validation, but I am using only recommended syntax.
Configuration
databricks.yml:
bundle:
name: some_name
databricks_cli_version: ">= 0.234.0"
workspace:
file_path: ${workspace.root_path}
targets:
personal:
default: true
mode: development
workspace:
root_path: ~/${bundle.name}
$ databricks bundle validate
Warning: substring "/Workspace${workspace.root_path}" found in "/Workspace${workspace.root_path}". Please update this to "${workspace.root_path}".
at workspace.file_path
in databricks.yml:2:1
For more information, please refer to: https://docs.databricks.com/en/release-notes/dev-tools/bundles.html#workspace-paths
Name: some_name
Target: personal
Workspace:
User: a....@....com
Path: /Workspace/Users/...user.../some_name
Found 1 warning
Steps to reproduce the behavior
- Create
databricks.yml with file_path: ${workspace.root_path} in it.
- Run
databricks bundle validate
- See warning
Expected Behavior
No warning.
Actual Behavior
Got warning: Warning: substring "/Workspace${workspace.root_path}" found in "/Workspace${workspace.root_path}"
OS and CLI version
$ databricks -v
Databricks CLI v0.234.0
$ sw_vers
ProductName: macOS
ProductVersion: 15.1
BuildVersion: 24B83
Describe the issue
Hi team! First of all, thanks for an awesome product!
If I create Databricks bundle configuration file with
${workspace.root_path}for some path I got a warning:during validation, but I am using only recommended syntax.
Configuration
databricks.yml:Steps to reproduce the behavior
databricks.ymlwithfile_path: ${workspace.root_path}in it.databricks bundle validateExpected Behavior
No warning.
Actual Behavior
Got warning:
Warning: substring "/Workspace${workspace.root_path}" found in "/Workspace${workspace.root_path}"OS and CLI version