priya12
New Contributor II

The lookup works. Here is how it can be used for a job existing outside the asset bundle

variables:
my_jobid:

    description: Enter the Databricks Job name you want to refer.
    lookup:
      job: 'My Job1'
In the resources section, reference it like 
tasks:
        - task_key: Run MyJob1
          run_job_task:
            job_id: ${var.my_jobid}