Terraform has become a key player in the DevOps world for defining, launching, and managing infrastructure as code (IaC) across a variety of cloud and virtualization platforms, including AWS, Google Cloud, Azure, and more. This hands-on third edition, expanded and thoroughly updated for version 1.0 and beyond, shows you the fastest way to get up and running with Terraform. Yevgeniy (Jim) Brikman, Gruntwork cofounder, takes you through code examples that demonstrate Terraform's simple, declarative programming language for deploying and managing infrastructure with a few commands. Veteran sysadmins, DevOps engineers, and novice developers will quickly go from Terraform basics to running a full stack that can support a massive amount of traffic and a large team of developers. * Compare Terraform with Chef, Puppet, Ansible, CloudFormation, and Pulumi * Deploy servers, load balancers, and databases * Create reusable infrastructure with Terraform modules * Test your Terraform modules with static analysis, unit tests, and integration tests * Configure CI/CD pipelines for both your apps and infrastructure code * Use advanced Terraform syntax for loops, conditionals, and zero-downtime deployment * Get up to speed on Terraform 0.13 to 1.0 and beyond * Work with multiple clouds and providers (including Kubernetes!)

Before you start, a short look at what you will learn in this book
In the preface, settle the general questions you have at a glance, so your view widens and your choice is more informed. Questions such as: Why was this book written and what problem does it solve? Who can use the book? A summary of the chapters and the learning goals of each part? The important changes and new improvements added across editions, and so on — we cover all of these for you.
DevOps engineers looking for a powerful tool to manage their cloud infrastructure.
System administrators who want to automate infrastructure deployment and management processes.
Software developers who need a better understanding and control over the infrastructure their applications use.
Solution architects designing and implementing scalable and reliable infrastructure solutions.
This book shows you how to manage your infrastructure as code using Terraform, improving your DevOps processes.
The updated third edition provides comprehensive coverage of the latest Terraform features, including version 1.0 and beyond.
It is essential for DevOps engineers, system administrators, and developers who want to manage their infrastructure automatically and reproducibly.
With practical, step-by-step examples, readers can quickly progress from Terraform basics to deploying full, scalable stacks.
This book is a practical and comprehensive guide to learning and using Terraform, explaining complex concepts in an understandable way.
The code examples provided in the book are very helpful, enabling readers to quickly apply their knowledge.
The updated coverage for Terraform version 1.0 and beyond makes this book a valuable resource for anyone working with the tool.
The book clearly outlines the differences between Terraform and other IaC tools, aiding readers in choosing the right tool.
10 chapters in production
Reading time
11:33
Book type
Subscription
Participants
Be the first
Last updated
Sep 30, 2026