Support for multiple resource groups for the job
Thank you to implementing the resource_group feature. It's really helpful.
I feel that the feature should actually be extended to allow jobs to wait for multiple resources instead of just a single one.
Here is a scenario where wait for multiple resource_group should help:
-
Deployment job into container based environments (like Kubernetes) can support multiple deployments in parallel. In this case the resource group is required to ensure that only single deployment happens for a given service in an environment. Creating a per service resource group allows the deployment of different services in parallel while preventing multiple deployment of the same service.
-
Now apart from preventing multiple deployments of the same service I also want to prevent deployment if an acceptance test job is running in that environment.
This is the situation when wait on multiple resource_group show allow to wait for any job deploying the same service and wait while acceptance test job is running.
It will be great if this feature can be implemented. Let me know if it is already supported (in that case documentation does not provide any example of using wait on multiple resource group).