The Terraform Book
TheTerraformBook_sample
TheTerraformBook_sample
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Chapter 3: Building an application stack with <strong>Terraform</strong><br />
NOTE You can find the code for this chapter on GitHub.<br />
Let’s create a new file to hold our stack configuration, a file to define our variables,<br />
and a file to populate our variables.<br />
Listing 3.25: Creating the stack files<br />
$ touch web.tf variables.tf terraform.tfvars<br />
Let’s begin by populating our variables.tf file.<br />
Version: v1.1.1 (e771e4d) 19