Here's what I have on Azure:
Resource group: 'microservice-1'
App Service: 'app-service-1'
Database: 'database-1'
Resource group: 'microservice-2'
App Service: 'app-service-2'
Database: 'database-2'
Resource group: 'shared-infrastructure'
Database: 'shared-database-1'
Both microservices use shared-database-1
. Every microservice contain ARM template script to create/update resource group that is used when microservice is deployed. In ARM scripts we can define dependencies (dependsOn) so that the resources are updated with proper order but this work only within resource group.
Here's the scenario I want to run:
There's nothing in Azure and I want to release microservice-1
. Is there a
mechanism in Azure / ARM that I can use, so that shared-infrastructure
release (ARM template) is run prior to microservice-1
?