sandy311
New Contributor III

My issue is when I update a job with a different name, it's only overriding the existing job instead of creating a new one using asset bundles.

Example:

Step 1:

This is my YAML file, and when I deploy it using asset bundles, it creates a job:

bundle:
  name: test-bundle

artifacts:
  default:
    type: whl
    build: poetry build
    path: .

resources:
  jobs:
    wheel-job:
      job_clusters:
        - job_cluster_key: sample-cluster
          new_cluster:
            spark_version: 14.3.x-scala2.12
            node_type_id: Standard_DS4_v2
            driver_node_type_id: Standard_DS4_v2

Step 2:

When I update the job name or bundle name, it still updates the same job by changing its name. However, what I want is to create a new job if a new job or bundle name is provided, instead of overriding the existing one.

 

sandeepss