Summary
This chapter has been an interesting one to write. We started by reviewing how to write expressions in Bicep with all the different available operators, from comparison to numeric to logical and accessors. Then, we reviewed how to use conditions to deploy our resources conditionally, whether it is just to check whether to deploy the resource or not or checking for an existing resource.
We finished by reviewing different types of loops you can use to take advantage of reusability within your template and create multiple resources without repeating their syntax.
In the next chapter, we will take this discussion even further and review modules to take our reusability to the next level. We will also take a closer look at outputs, although we have used them many times in our examples so far.