Reading Time: 3 minutes So, Before moving to publishing terraform modules , if you guys dont have any idea about what is terraform modules , then Just go through my this blog first. Ok, Lets get started without wasting any time. So we saw in the previous blog that how we can use the module locally or create them. But what if i want to publish my own module. Continue Reading
Reading Time: 4 minutes Hi Readers, In this blog we will see how we can test our Terraform code that it applies all the infrastructure as per stated in the code. Terratest is a Go library developed at Gruntwork, that makes it easier to write automated tests for our infrastructure code. It provides a variety of helper functions and patterns for common infrastructure testing tasks but here we will be Continue Reading
Reading Time: 4 minutes Hi Readers, In previous blog we discussed the basics of terraform and understood the cloud infrastructure. Now here we will understand how to spin up our first terraform configuration. In addition to that we will also see how to setup terraform in our local system. Terraform installation Terraform is available for all Operating systems i.e for Mac OS, Windows and Linux. HashiCorp distributes Terraform as Continue Reading
Reading Time: 4 minutes In this blog, we are going to create AWS infrastructure using Terraform. Basically, we can name it “Code as Infrastructure” So before moving to the setup let’s take a little introduction. Introduction: It is a tool for building, changing, and versioning infrastructure safely and efficiently. Terraform can manage existing and popular service providers as well as custom in-house solutions. It is created by hashicorp. The Continue Reading
Reading Time: 3 minutes What Terraform Workspaces are? Terraform supports two concepts of workspaces: CLI workspace and Terraform Cloud/Enterprise workspace. This article is focused on CLI Workspaces also known as OSS Workspace. CLI workspaces are a feature that allows us to manage a single Terraform configuration and provision the resulting resources different time.This allows us to have similar group of resources without managing multiple stacks. To use CLI workspaces, we Continue Reading
Reading Time: 5 minutes What is Terraform? Terraform is an infrastructure as code (IaC) tool that allows you to build, change, and version infrastructure safely and efficiently. This includes low-level components such as compute instances, storage, and networking, as well as high-level components such as DNS entries, SaaS features, etc. Terraform configurations manages both existing service providers and custom in-house solutions. In this blog, we will look at the Continue Reading
Reading Time: 4 minutes Meta-Arguments in terraform are some special constructs in Terraform which are available for Resource and Module Block.
Reading Time: 2 minutes Introduction to Terraform variables Just like in other technologies, variables let you customize your Terraform modules and resources without altering the modules’ code. Results you do not need to hard code just for a few tweaks in your resources. Using variables is very handy when you are creating the same resources but with different configurations. For example: S3 bucket for diffrent regions EC2 instances of Continue Reading
Reading Time: 4 minutes In this blog, I am going to share my experience and guide you on how to clear the Hashicorp terraform associate exam.
Reading Time: 4 minutes Hi Readers, In this blog we will be looking about the WHAT? and WHY? of the Terraform. We will be discussing about its basics and its key components. Before jumping directly into Terraform, we need to understand the term Infrastructure. An Infrastructure in common language would be considered as the final output obtained after processing multiple different kinds of inputs. For instance: An Infrastructure for Continue Reading
Reading Time: 3 minutes Terraform provides us a way to use multiple configurations for the same providers to deploy our resources. With terraform, we can make use of aliases to create multiple configurations for the same provider. Providers in terraform Providers are the heart of terraform. Terraform uses providers to interface/sync between the Terraform engine and the supported cloud platform. Terraform supports a large number of providers. e.g. AWS, Continue Reading
Reading Time: 4 minutes As a DevOps Engineer, there might be a requirement of creating Infrastructure over various Cloud Providers including AWS, GCP or Azure. The ineffective way of doing it is simply going over the Provider console and manually create the infrastructure as per the requirement. Do you feel that its the correct way of doing it? Are you looking for a better solution? If your answer is Continue Reading
Reading Time: 3 minutes With terraform, we can generate a visual representation of either our configuration or execution plan. We can use terraform graph command to generate a visual representation. The output of the command is in DOT format, we can use tools like Graphviz to generate charts. Let’s Understand in detail. Explore the directory first! Let’s see what terraform configuration files are present in our working directory. By Continue Reading