With the Subscriptions Droplet in Cloud Maker, you can deploy to multiple subscriptions in a single Cloud Maker blueprint.
If you are deploying via Azure DevOps, then you will need to ensure you have configured a multi-subscription Azure DevOps service connection that is scoped to a Management Group.
To configure this service connection, do the following:
On your Azure DevOps tenant and project, select Project Settings at the bottom of the left-hand menu.
Select Service Connections.
โCreate a New service connection using the button in the top right.
Under Choose a service connection or type select Azure Resource Manager and click Next.
Under Authentication method select Service principal (automatic) and click Next.
Under Scope level, select Management Group. Select the management group you wish to scope this service connection to. Give the service connection a name and a description.
Choose the security option that best fits your needs by either checking or unchecking Grant access permission to all pipelines.
Click Save.
NOTE: You can find out more about Azure DevOps service connections and security options on Microsoft Docs.
To use your Azure Resource Manager service connection with the Cloud Maker task in Azure DevOps, do the following:
Navigate to your Azure DevOps pipeline and edit the pipeline
Click View stage tasks on the stage you wish to update
On the Cloud Maker Task, click the Task version dropdown and select the latest version of the Cloud Maker task.
Select the new multi-subscription service connection from the Azure Resource Manager connection drop-down.
โSave changes to your pipeline and deploy!