Skip to Main Content
Terraform Cookbook
book

Terraform Cookbook

by Mikael Krief
October 2020
Intermediate to advanced content levelIntermediate to advanced
366 pages
6h 43m
English
Packt Publishing
Content preview from Terraform Cookbook
Writing Terraform Configuration

When you start writing Terraform configuration, you will notice very quickly that the language provided by Terraform is very rich and allows for a lot of manipulation.

In the recipes in this chapter, you will learn how to use the Terraform language effectively in order to apply it to real-life business scenarios. We will discuss how to specify the versions of the provider to be used, as well as how to make the code more dynamic with variables and outputs. Then, we will use these concepts to provision several environments with Terraform. After that, we will consider the use of functions and conditions.

We will also learn how to retrieve data from external systems with data blocks, other Terraform state files, ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Terraform Cookbook

Terraform Cookbook

Kerim Satirli, Taylor Dolezal
Terraform in Action

Terraform in Action

Scott Winkler

Publisher Resources

ISBN: 9781800207554Supplemental Content