DevOps

Modern Terraform Practices: Removing Resources Safely from State

Introduction and Usecase There are times when we want Terraform to stop managing a resource, but don’t want to delete it from the infrastructure. In this brief blog, I'm going to discuss removing resources from Terraform configuration files while keeping them in real infrastructure. But why would you want to do this in the first...

by Karandeep Singh
Tag: HashiCorp
29-May-2025

DevOps

Terraform 1.5 Import Block: Eliminate Manual Imports and Streamline IaC

Introduction We know that sometimes the cloud infrastructure is already set up before we start using Terraform. Traditionally, if we wanted to import these resources into Terraform and control them, we had to run some manual import commands. It was a pain and made it tricky to keep things smooth when working in a collaborative...

by Karandeep Singh
Tag: HashiCorp
26-May-2025