Understand what Infrastructure as Code is, why it matters, and how to install and verify Terraform on your local machine.
Start by creating a clean directory for your Terraform practice. This keeps your infrastructure code organized.
mkdir -p ~/terraform-practice/lesson-101cd ~/terraform-practice/lesson-101The mkdir -p command creates the directory and any parent directories needed.
We'll use this directory for all Terraform lessons.
A new directory is created.
Verify with pwd - you should see /Users/yourname/terraform-practice/lesson-101.