0PricingLogin
Terraform Infrastructure as Code · Lesson

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

  1. Introduction to IaC and Terraform
  2. Installing Terraform and CLI Basics
  3. Your First Terraform Configuration
  4. Understanding Terraform Plan and Apply
← Back to Terraform Infrastructure as Code