Linked ARM Templates for a Multi Resource Azure Solution

Roy Kim on Azure, Office 365 and SharePoint

When deploying a set of azure resources using Azure Resource Manager (ARM) templates in a single file can leave with a large json file that can be difficult to manage and maintain. To employ modularity and reuse, you can break out azure resources into its own ARM template and have an ARM template link or ‘call out’ to it like a typical programming functional call.

I will demonstrate a solution composed of Azure App Service, Azure SQL and Azure Key Vault and will deploy from a public Github repo.

The solution design:

The design of my set of ARM templates:

The Main template is calling out to associated linked templates passing in parameter values. Also, one can deploy those associated templates standalone and independently.

Linked ARM Template syntax

An example json snippet:

The main template has a set of resources (1) and each linked template is defined as a resource…

View original post 304 more words

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.