Summary
With the use of variables, modules, or roles, you can quickly build up your IaC deployments in a consistent way that can be shared with the rest of your team, allowing everyone to build their environments using a set of shared building blocks.
Another advantage of this approach is that you are deploying the same sort of infrastructure repeatedly for your project because you have multiple environments or multiple customers.
Having a set of variables per deployment changing things such as the stock keeping units (SKUs) or resource names, with everything else being the same, will save time and allow you to manage all your deployments centrally. We will look at how to centrally manage our deployment in our next chapter, Chapter 7, Leveraging CI/CD in the Cloud.
Before we move on, let us quickly summarize what we have discussed in this chapter. We started by clearing up what we mean by cloud-agnostic tools before looking at the difference between our Amazon Web Services...