Chapter 6: Using Parameters, Variables, and Template Functions
Now that you know how to define your resources, it is time to go through some of the concepts that we used but skipped, such as parameters and variables. In this chapter, we will start with parameters first, since you will need them to reuse your templates for different environments and to customize your resources.
Then we'll outline the template variables and how they will help you to keep your templates clean and enable you to have a better coding standard. And finally, we will review the template functions and when they come into the picture.
In this chapter, we are going to cover the following main topics:
- Parameters
- Variables
- Functions