© David Rendón 2022
D. RendónBuilding Applications with Azure Resource Manager (ARM)https://doi.org/10.1007/978-1-4842-7747-8_12

12. Working with Loops in Your ARM Template

David Rendón1  
(1)
Ags, Mexico
 

This chapter will cover how to create multiple instances of the same resource in our ARM template. We will deep dive into using the copy element for resource iteration and for iteration for child resources. As you might have noticed, we reviewed variable iteration in Chapter 7, and we went through the essential uses of the copy element.

In this chapter, we will go over the following topics:
  • Understanding the copy element in more depth

  • Serial mode and parallel mode

  • Resource dependencies in a loop

Usually, when working with larger environments in Azure, ...

Get Building Applications with Azure Resource Manager (ARM): Leverage IaC to Vastly Improve the Life Cycle of Your Applications 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.