August 2023
Intermediate to advanced
634 pages
13h 5m
English
In the previous chapter, we learned the basics of how to use Terraform language primitives to provision infrastructure efficiently. One of the advantages of Infrastructure as Code (IaC) is that it allows you to provision infrastructure on a large scale much faster than manual provisioning.
When writing IaC, it is also important to apply the development and clean code principles that developers have formulated over the years.
One of these principles is Don’t Repeat Yourself (DRY), which means not duplicating code. The following link explains the DRY principles in detail: https://thevaluable.dev/dry-principle-cost-benefit-example/.
In this chapter, we will learn how to use expressions from the Terraform ...
Read now
Unlock full access