My question is regarding Databricks Asset Bundles. I have defined a databricks.yml file the following way:
bundle:
name: my_bundle_name
include:
- resources/jobs/*.yml
targets:
dev:
mode: development
default: true
workspace:
host: workspace_url
prod:
mode: production
workspace:
root_path: /Shared/.bundle/${bundle.name}/${bundle.target}
run_as:
service_principal_name: service_principal_name
In the example above I have several individual job YML files defined in the /resources/jobs/ directory. So the folder contains v1_job.yml, v2_job.yml & v3_job.yml files. When I execute databricks bundle deploy -t prod command all the 3 jobs get deployed. Is there a way to exclude some of the jobs in this case? For example, I only need v3 job to be deployed in prod, even though I need all 3 in dev