Terraform is the most popular infrastructure-as-code technology available today. It makes configuring thousands of cloud resources a snap, but things can quickly get complicated, and your infrastructure as code isn't the place you want to "learn on the job." This straightforward guidebook will help you escape sticky situations--or, better yet, avoid them in the first place.
Cloud infrastructure pro Robert Glenn shares successful patterns you can use to simplify the challenge of managing Terraform at any scale, along with common antipatterns and how to mitigate them. Ideal for cloud architects, infrastructure specialists, and SREs who've already mastered the phrase "You don't have access to that repo," this book shows how to structure, organize, and architect your Terraform and OpenTofu projects with real-world constraints like organizational responsibilities or policy requirements.
Understand how different Terraform projects interact (and interfere) with each other Use Terraform functions, expressions, and other built-in features Develop, protect, and distribute modules for effective internal use Organize Terraform projects in the presence of organizational structures and policy constraints Identify tightly coupled Terraform projects and bloated Terraform states Make size changes to Terraform projects safely and confidently Learn what not to do with Terraform