The

Terraform

Book

James Turnbull

The Terraform Book

Infrastructure as Code

by James Turnbull

A hands-on, introductory book about managing infrastructure with HashiCorp's Terraform tool. Start small and then build on what you learn to scale up to complex infrastructure. Written for both developers and sysadmins. Focuses on how to build, test and run infrastructure and applications with Terraform and integration with tools like Consul.

This book is no longer available for purchase.

What's in the book


Table of Contents

  • Chapter 1: An Introduction to Terraform
  • Chapter 2: Installing Terraform
  • Chapter 3: Building our first application
  • Chapter 4: Provisioning and Terraform
  • Chapter 5: Collaborating with Terraform
  • Chapter 6: Building a multi-environment architecture
  • Chapter 7: Infrastructure testing

This book has been retired


The Terraform Book is no longer available for purchase. Given the age of the book and how much Terraform has changed, it no longer reflects current best practices.

Thank you to everyone who bought and supported the book over the years. It means a lot.

The book was last updated for Terraform version 0.13. You can find errata here.

Drop me a line