Your First Terraform Configuration
Walk through creating a basic Terraform configuration file to declare and provision a simple cloud resource, demonstrating the core workflow.
Your First Terraform Config
Time to write your first real Terraform config — you'll create a .tf file, declare a provider and resource, and run the full init/plan/apply workflow.
Meet the .tf File
Terraform configs live in .tf files written in HCL. By convention your main one is main.tf, but any .tf filename works.
All lessons in this course
- Introduction to IaC and Terraform
- Installing Terraform and CLI Basics
- Your First Terraform Configuration
- Understanding Terraform Plan and Apply