Storing reusable and often referenced values is one of the many best practices when using Infrastructure-as-Code (IaC). It makes it easier to author IaC templates and increases readability, so you do not have huge expressions taking up a lot of space in the template's body. Azure Bicep Templates use parameters and variables to achieve this. Using parameters and variables is the first step to making neater templates and is a security recommendation to avoid hard-coding secure values such as passwords.
In this lab, you will learn how to use parameters and variables in a Bicep template.
Upon completion of this lab, you will be able to:
Familiarity with the following will be beneficial:
The following labs can help to fulfill the prerequisites: