I've been trying various solutions and perhaps maybe just thinking about this the wrong way.
We're migrating over from Synapse where we're used to have a defined set of DBX Cluster profiles to run our jobs against, these are all job clusters created via API so basically act as templates for us.
Now we're moving over to asset bundles, I'm trying to look at how we can have this "common" set of clusters for each of our DAB repos to use, to have some uniformity between them.
Something I was aiming for
- Define all the cluster types in a single file (i.e. clusters.yml)
- Allow per target -> task to override a default by providing simply the cluster name i.e. "Driver_Only_DSV3"
I have this working with on-demand clusters by leveraging existing_cluster_id and parameterising this, but to use job clusters it seems like you must register all job_clusters, and with 10-15 cluster variants defining those for each job for each repo is a lot of noise, and haven't actually got a solution working using this method.