Terraform in OpenStack

Before provisioning our second infrastructure into OpenStack, we will need to install Terraform. This can be done from your local machine as follows:

  1. Get the latest Terraform release from the official Hashicorp repository. At the time of writing this chapter, Terraform 0.7.7 will be used:
     # wget https://releases.hashicorp.com/terraform/0.7.7/       terraform_0.7.7_linux_amd64.zip
  1. Unzip the Terraform package and set your local PATH environment to the extracted terraform directory:
     # unzip terraform_0.7.7_linux_amd64.zip       # vim ~/.bash_profile     PATH=$PATH:<filepath>

Where <filepath> is the path of the extracted Terraform file.

  1. Populate the new PATH at your local environment:
     # source ~/.bash_profile
  1. Check the ...

Get Mastering OpenStack - Second Edition 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.