2 Installing and introducing Terraform

Welcome to the world of infrastructure as code. In this chapter, we’ll take you through the process of installing Terraform on a variety of platforms. This isn’t the full list of supported platforms but a representative sampling to get you started. We’ll look at installing Terraform on:

  • Linux.
  • Microsoft Windows.
  • Mac OS X.

You’ll discover that the lessons here from installing Terraform can be extended to the other supported platforms.

Note We’ve written the examples in this book assuming Terraform is running on a Linux distribution. The examples should also work for Mac OS X but might need tweaking for Microsoft Windows.

After we’ve installed Terraform, we’ll start to learn about how to use it to create ...

Get The Terraform Book now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.