Showing posts from November, 2018

Quick Introduction to Terraform

IntroductionThere are many tools and frameworks available for provisioning infrastructure on the cloud. One of the most popular cloud agnostic tool is Terraform. It is a vital piece of Infrastructure as a Code Service and could be used to tear up or tear down infrastructure. We will learn about some basic nuances of Terraform in this post. 
Installing Terraform:Terraform could be installed by finding the appropriate package and following instructions. (Refer  In this post, I will be using Terraform on CentOS.
Getting Started:Let us try to get our hands dirty. Create a directory, 'scripts' and cd into that.
Run 'terraform --version' to confirm if terraform is successfully installed.
Let us create our first terraform file. Terraform files have an extension of .tf.  So, create a file ''. Let us create a variable called 'name' and try to print it out.

Note the syntax, the variables should be refer…