16.03.2017 Views

The Terraform Book

TheTerraformBook_sample

TheTerraformBook_sample

SHOW MORE
SHOW LESS

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 />

environment variables to specify our credentials. <strong>Terraform</strong> also automatically<br />

consumes these variables. If you’re on OS X, you should also look at envchain,<br />

which uses the OS X Keychain to help manage environment variables.<br />

First resources<br />

Now that we’ve got the inputs for our stack defined, let’s start to create our resources<br />

and their configuration in the web.tf file.<br />

Version: v1.1.1 (e771e4d) 24

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!