In this post, we discuss backends that can be used with Terraform. Working with backends is essential when a larger team works on developing Terraform code. This is mainly because Terraform relies heavily on states for its operations and there is a huge scope of states getting “corrupted” if we “just use Github” to maintain … Continue reading Terraform Backends
infrastructure
Terraform Data Sources
Data Sources in Terraform is one of the important concepts which enables you to work with data values sourced from somewhere else. Somewhere else here would mean other modules, or cloud providers, or even locally. There are situations where the Terraform code needs to query a “fresh” set of values to be used while applying … Continue reading Terraform Data Sources
Terraform Modules
Modules are a way to organize Terraform code into re-usable chunks of IaC. Managing code for the complex infrastructure stack in a single go is not a good idea. This is for obvious reasons, the maintenance of the infrastructure itself may become a headache trying to figure out what caused what in lots of lines … Continue reading Terraform Modules
Terraform CLI – Part 2
Now that we have a basic understanding of how Terraform states work, let us take a look at some of the Terraform CLI commands which come in handy to work with the same. We shall also take a look at the significance of these commands and why one should be familiar with them. To refer … Continue reading Terraform CLI – Part 2
Terraform States
Before we move to the 2nd part of Terraform CLI, I think it is important to discuss Terraform States. This is one of the fundamental concepts while learning to work with Terraform. We will make use of this commit for the example we have been using in this Terraform series. Feel free to clone the … Continue reading Terraform States