Deploying resources into multiple resource groups, using the deployment resource

The deployment resource is quite special and different than other resource types. It has additional properties that are not available to other resource types. These properties help with deploying resources in different resources groups and subscriptions from the same template. In this section, we will see how to deploy resources to multiple resource groups from the same template. In fact, the template will first create a couple of resource groups in different Azure regions and then deploy Azure Key Vaults to those separate resource groups and regions, using the linked template.

For this example, we need a template that can provision the Azure Key Vault for us. ...

Get Azure Resource Manager Templates Quick Start Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.