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!)

Browse the chapters to quickly get to know the structure and content of the book.
By browsing the chapters of this book you can quickly see what each part teaches, how the whole is structured and where to start. Each chapter focuses on one concept or skill, and you see its main topics so your choice is more informed. Whether you follow the whole book or just one part, this view helps you find your way.

Why Terraform

Getting Started with Terraform

How to Manage Terraform State

How to Create Reusable Infrastructure with Terraform Modules

Terraform Tips and Tricks: Loops, If-Statements, Deployment, and Gotchas

Managing Secrets with Terraform

Working with Multiple Providers

Production-Grade Terraform Code

How to Test Terraform Code

How to Use Terraform as a Team
10 chapters in production
Reading time
11:33
Book type
Subscription
Participants
Be the first
Last updated
Sep 30, 2026