Skip to main content

31 posts tagged with "Terraform"

Infrastructure as Code with Terraform

View All Tags

Terraform CLI — init, plan, apply, destroy, and import Explained

· 8 min read
Goel Academy
DevOps & Cloud Learning Hub

You know terraform apply creates resources. But do you know how to import existing infrastructure into state? Or how to target a single resource during a risky deployment? Or how to use the interactive console to test expressions before putting them in code? The Terraform CLI has more power than most people ever use. Let us fix that.

Terraform Data Sources — Query Existing Infrastructure

· 6 min read
Goel Academy
DevOps & Cloud Learning Hub

Not everything in your cloud account was created by Terraform. Maybe the VPC was built by another team using CloudFormation. Maybe the DNS zone was set up manually in the console two years ago. Maybe you need the latest Amazon Linux AMI and its ID changes every week. Data sources let Terraform read information from your cloud provider without managing the resource itself.

Terraform Resource Lifecycle — Create, Update, Destroy, and Taint

· 6 min read
Goel Academy
DevOps & Cloud Learning Hub

You rename a tag in your Terraform config, expecting a simple metadata update. Instead, Terraform announces it will destroy and recreate your production database. Your heart rate spikes. Understanding how Terraform decides to create, update, or destroy resources — and how to control that behavior — is the difference between a calm deploy and a production incident.