Terraform Fundamentals
Learn Terraform syntax, providers, resources, and modules for declarative infrastructure management.
80 min•By Priygop Team•Last updated: Feb 2026
Terraform Basics
Terraform is an open-source infrastructure as code tool that allows you to define and provision infrastructure using a declarative configuration language.
Terraform Components
- Providers: Cloud platform integrations (AWS, Azure, GCP)
- Resources: Infrastructure objects (servers, databases, networks)
- Data Sources: Read-only information about existing resources
- Variables: Configurable values for your infrastructure
- Outputs: Information about created resources
Terraform Workflow
- terraform init: Initialize working directory
- terraform plan: Preview changes
- terraform apply: Apply changes
- terraform destroy: Remove infrastructure