Chapter 8: Defining Modules and Utilizing Outputs

So far, we have looked at many of the different features in Bicep that make it reusable. However, we still have one left to cover: modules. In this chapter, we will look at what modules are, as well as how to define and use them in our templates to take reusability to the next level.

We will also introduce outputs and learn what they are used for and how they are constructed. In short, we will cover the following main topics:

  • Modules
  • Using Bicep outputs

Technical requirements

To take full advantage of this chapter, you will need to have access to a personal computer or laptop that has Visual Studio Code and PowerShell installed. The code for this chapter can be found in this book's GitHub ...

Get Infrastructure as Code with Azure Bicep 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.