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:

  1. On your Azure DevOps tenant and project, select Project Settings at the bottom of the left-hand menu.

  2. Select Service Connections.

  3. Create a New service connection using the button in the top right.

  4. Under Choose a service connection or type select Azure Resource Manager and click Next.

  5. Under Authentication method select Service principal (automatic) and click Next.

  6. 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.

  7. Choose the security option that best fits your needs by either checking or unchecking Grant access permission to all pipelines.

  8. 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:

  1. Navigate to your Azure DevOps pipeline and edit the pipeline

  2. Click View stage tasks on the stage you wish to update

  3. On the Cloud Maker Task, click the Task version dropdown and select the latest version of the Cloud Maker task.

  4. Select the new multi-subscription service connection from the Azure Resource Manager connection drop-down.

  5. Save changes to your pipeline and deploy!

Did this answer your question?