Mastering Terraform count Meta Argument

In today’s blog post, we will learn terraform count meta argument. The count meta argument is used mainly for iteration (looping). For example, using count you can provision multiple resources with the same configuration block or use count with a conditional expression to execute a terraform block based on some condition. The count meta argument … Read more

Troubleshooting “Error acquiring the state lock: ConditionalCheckFailedException” in Terraform

Error acquiring the state lock ConditionalCheckFailedException

In today’s blog post, we are going to cover how to troubleshoot “Error acquiring the state lock: ConditionalCheckFailedException.” in terraform. A state file is used by Terraform to map real world resources to your configuration, keep track of metadata, and to improve performance for large infrastructures. When terraform is used by multiple users to manage the same … Read more

The Git Undo Toolkit – Part 5 – How To Undo Tag Changes In Git?

How To Undo Tag Changes In Git?

Welcome back to “The Git Undo Toolkit” series. So far, we have covered undoing changes in your working directory, staging area, committed history, and git branches. In this blog post, we will cover how undo tag changes in git. Tags are pointers to specific points in your repository’s history, commonly used to mark a release … Read more

Advanced Filtering with Terraform Data Sources

Advanced Filtering with Terraform Data Sources

Terraform’s data sources provides a way to fetch information about your infrastructure or external data. While fetching the entire data source details are straightforward using a data source block, the real trick is when you want to get some specific information from the terraform data source block using some conditions. For example, say you have … Read more

Mastering Terraform Outputs

Terraform output is a key feature used to get and display important information about what is getting provisioned, debugging your terraform code and also to pass information from one terraform module to another. While in most cases a simple output block suffice the need to display and pass information about the infrastructure getting provisioned. Sometime … Read more

The Git Undo Toolkit – Part 1 – How To Undo Working Directory Changes In Git?

How To Undo Working Directory Changes In Git?

Have you ever faced a situation where due to high work load, you made a bunch of changes, and then suddenly thought: If these scenarios sound familiar, you are in the right place. Your git “working directory” is where all the action happens, where you write, modify, and delete files. It’s also the first line … Read more