Terraform Tutorials: Step-by-Step Tutorial for Using the removed Block

Step-by-Step Tutorial for Using the removed Block in Terraform The removed block in Terraform (introduced in version 1.7) provides a safe way to remove resources from the…

Read More

Terraform Tutorials: How to remove a resource from your Terraform configuration & state file

Step by Step in terraform To remove a resource from your Terraform configuration & state file without destroying the real infrastructure object it manages Old Method –…

Read More

What is OpenTofu?

I apologize for falling short of your expectations earlier. Let me now fully address your request with detailed, well-structured, and up-to-date content for each question. I’ll ensure…

Read More

Terraform Tutorials: Meta-Argument with Lifecycle

The lifecycle block in Terraform allows you to customize how resources are managed during their lifecycle—creation, updates, and deletion. By using the lifecycle arguments, you can control…

Read More

What is Terrafile?

Terrafile is a tool used to manage Terraform modules as dependencies. It simplifies the process of downloading and managing Terraform modules by automating the fetching of modules…

Read More

How to Import Existing IaC Resources into Terraform

DevOps teams the world over rely on Terraform as an infrastructure-as-code (IaC) tool for building, changing, and managing cloud resources. Last summer’s Terraform version 1.5 release included…

Read More

Automating Infrastructure with Terraform: Best Practices and Use Cases

As the complexity of managing IT infrastructure continues to grow, automation has become an indispensable part of modern DevOps practices. Terraform, an open-source infrastructure as code (IaC)…

Read More

What is Terraform and use cases of Terraform?

What is Terraform? Terraform is a infrastructure as code (IaC) tool and open-source from HashiCorp. It empowers users to define and manage cloud infrastructure and on-premises resources…

Read More

What is HashiCorp Terraform and use cases of HashiCorp Terraform?

What is HashiCorp Terraform? HashiCorp Terraform is a leading infrastructure as code (IaC) tool, empowering you to define, provision, and manage your cloud and on-premises infrastructure in…

Read More

Terraform: Azure VM using terraform-azurerm-compute Module

Rajesh KumarI’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have worked…

Read More

Terraform: Azure VM using virtual-machine Module

To run this example you need to execute following Terraform commands Run terraform destroy when you don’t need these resources. Rajesh KumarI’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud,…

Read More

Terraform: Create Azure Windows VM with file, remote-exec & local-exec provisioner

Rajesh KumarI’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have worked…

Read More

Terraform Variable Naming convention

In Terraform, the widely accepted and recommended naming convention for variables is snake_case, which means: Following this convention ensures consistency, readability, and easier collaboration, especially in a…

Read More

Terraform: Create New RDS instance & New Database in Existing RDS Instance

Create New RDS instance: Module New Database in Existing RDS Instance If you want to create a database in an existing RDS instance, you can use the…

Read More

Terraform Tutorials: What is terraform.tfvars with example

What is terraform.tfvars? Terraform .tfvars files are used to store variable definitions. This allows you to externalize your variable definitions and makes it easier to manage them,…

Read More

Terraform Tutorials: How to comments in terraform code?

Terraform code supports three different syntaxes for comments: Comments can be placed anywhere in a Terraform configuration file, but they are typically placed at the beginning of…

Read More

What is terraform.tfstate and terraform.tfstate.backup file in terraform?

Here is a table that summarizes the key differences between terraform.tfstate and terraform.tfstate.backup: Feature terraform.tfstate terraform.tfstate.backup Purpose Current state file Backup of the state file When is…

Read More

Terraform Tutorials: Installation & Configurations

How to install terraform in windows? Step – 1 – Download a Terraform from https://developer.hashicorp.com/terraform/downloads Step – 2 – Extract it into C:\tools\hashicorp\terraform [ filename – terraform.exe…

Read More

Terraform Error Handing with Try Catch

The code could be improved by adding some error handling. For example, you could check to make sure that the PEM file exists and that the password…

Read More

Terraform Tutorials: Functions in terraform

The Terraform language includes a number of built-in functions that you can call from within expressions to transform and combine values. The general syntax for function calls…

Read More

How to use one module’s variable in another module in terraform?

To get the output from one module to another module in Terraform, you can use the following steps: Here is an example of how to do this:…

Read More

New Terraform batch is Starting: Hashicorp Certified Terraform Associate Training

Please reach out to us at +91 7004215841 @ contact@devopsschool.com About Hashicorp Certified Terraform Associate Training The HashiCorp Certified Terraform Associate certification is designed to validate the…

Read More

kapitan Command line reference

Rajesh KumarI’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have worked…

Read More

Terraform Tutorials: Meta-Arguments

Meta-arguments in Terraform are special arguments that can be used with resource blocks and modules to control their behavior or influence the infrastructure provisioning process. They provide…

Read More

Terraform Tutorials: What is namespace / Alias

In Terraform, a namespace is a logical grouping or isolation mechanism for resources within a cloud provider. It allows you to separate resources based on different environments,…

Read More

How to Implement GitOps Using Terraform?

Are you tired of manually managing your infrastructure? Do you want to automate the process and improve your team’s productivity? If so, GitOps using Terraform might be…

Read More

Terraform Tutorials: List of Terraform Blocks with Explanation

Example: terraform { required_version = “>= 0.14” backend “s3” { bucket = “my-terraform-state” key = “terraform.tfstate” region = “us-west-2” } } Example: provider “aws” { region =…

Read More

Terraform Tutorials: Variables Complete Reference

In Terraform, there are several types of variables that you can define, including: Quick Tutorials on Terraform Variable Terraform Variables and Configuration explained – 5 mins reading!…

Read More

Terraform Assignment and Excercise

Terraform Assignment: Getting Started Assignment 1 Create a new directory and write a terraform code which would create Ec2 instance and use Existing Security Group and Key….

Read More

Terraform Tutorials: Basic Workflow Getting Started Guide

Terraform workflow Step – 1 – Install terraform Step – 2 – Decide a providers name which you want to work with? Step – 3 – Create…

Read More