Serverless base env setup in Databricks Asset Bundle (DAB)

kranthit
New Contributor II

I am trying to set a base environment for my task (notebook) which is running on serverless, following is the dab yaml i am using when i did bundle deploy -t users, its not throwing any error but its not installing the libraries from the base env, can you please help me how to use base_environment in dabs

resources:
  jobs:
    SERVERLESS_JOB:
      name: ${var.env}_SERVERLESS_JOB_DAB
      parameters:
        - name: conf_catalog
          default: ${var.conf_catalog}
        - name: mode
          default: "full"
      tasks:
        - task_key: SERVERLESS_TASK
          notebook_task:
            notebook_path: ${var.src_file_path}/stack/test/serverless_task.py
          base_environment_path: "dbfs:/FileStore/Shared/scripts/serverless_base_env.yml"
          compute: "serverless"
      tags:
        project: "test"

 Thanks & Regards,

Kranthi