Member-only story
How to learning Terraform from the zero
2 min readJan 4, 2025
Lesson 1: Understanding Infrastructure as Code (IaC)
- Concepts: Learn what Infrastructure as Code (IaC) is and why it is important.
- Resources: Read articles or watch videos on IaC.
- Practice: Write simple scripts using a basic IaC tool like AWS CloudFormation or Azure Resource Manager to get a feel for the concept.
Lesson 2: Setting Up Your Environment
- Install Terraform: Follow the official Terraform installation guide.
- Configure Your Cloud Provider: Set up your cloud provider (AWS, Azure, GCP) credentials.
- Practice: Verify your installation by running
terraform --version
in your terminal.
Lesson 3: Basic Terraform Concepts
- Read the Documentation: Go through the Terraform documentation to understand basic concepts like providers, resources, and state.
- Write Your First Configuration: Create a simple Terraform configuration file to provision a basic resource (e.g., an AWS S3 bucket).
- Practice: Run
terraform init
,terraform plan
, andterraform apply
to see how Terraform works.