databricks-sdk-go
databricks-sdk-go copied to clipboard
Databricks Bundle Depoy Issue
Description I am trying to deploy workflows using the CLI command Databricks bundle deploy and am getting a error as shown in the attached
Reproduction
This is the code I am using to reproduce the error
export workspace_host=https://adb-1817728758721967.7.azuredatabricks.net/
export project_home=${temp_path}${project}
mkdir ${temp_path}${project}
echo {} >> ${project_home}/databricks_template_schema.json
mkdir ${project_home}/template/
mkdir ${project_home}/template/resources
mkdir ${project_home}/template/src
mkdir ${project_home}/template/src/$project
mv "${src_path}databricks.yml.tmpl" ${project_home}/template/databricks.yml.tmpl
sed -i "s/{{.project_name}}/${project}/g" ${project_home}/template/databricks.yml.tmpl
sed -i "s|{{workspace_host}}|${workspace_host}|g" ${project_home}/template/databricks.yml.tmpl
mv "${src_path}project_job.yml.tmpl" ${project_home}/template/resources/${project}.yml.tmpl
sed -i "s/{{.project_name}}/${project}/g" ${project_home}/template/resources/${project}.yml.tmpl
mv "${src_path}task.py" ${project_home}/template/src/$project/task.py
tree ${project_home}
mkdir ${temp_path}new_project
cd ${temp_path}new_project
${bin_path}databricks bundle init ${temp_path}${project}
${bin_path}databricks bundle deploy --profile DEFAULT
Expected behavior The workflows are created in a Databricks instance.
Is it a regression? No
Debug Logs Databricks_Bundle_Error_22112024_0920.log
Other Information Linux VM created in Azure.
Additional context