Hola all.
I have a serious problem, perhaps I missed something, but can't find the solution.
I need to push a job description to Databricks using TERRAFORM. I wrote the code, but there is no way to get a task dependant from two different tasks.
Consider the following code:
task {
task_key = "ichi"
job_cluster = "C64"
notebook_task {
notebook_path = "REPO_NOTEBOOK"
source = "GIT
}
}
task {
task_key = "ni"
job_cluster = "C64"
notebook_task {
notebook_path = "REPO_NOTEBOOK"
source = "GIT
}
}
task {
task_key = "san"
depends_on {
task_key = "ichi" ... but how make this dependant also from the "ni" task?
}
job_cluster = "C64"
notebook_task {
notebook_path = "REPO_NOTEBOOK"
source = "GIT
}
}
I attempted to use:
task_key = "ichi,ni" -> does not work.
task_key = [ "ichi", "ni" ] -> still does not work
HELP!
The Website databricks_job | Resources | databricks/databricks | Terraform | Terraform Registry does not help. It seems that there is no way to make it dependent on more than one task!