Day 3 Terraform Tutorial Series
Автор: Sakshi Gautam
Загружено: 2025-10-22
Просмотров: 233
#devopsengineer
#devopsmadeeasy
#terraform
Github Repo Link: https://github.com/sakshigautam/Terra...
Terraform Tutorial Series (15 Days Plan)
Day 1: Introduction to Terraform
⦁ What is Infrastructure as Code (IaC)?
⦁ Why use Terraform? (vs Ansible, CloudFormation, etc.)
⦁ How Terraform works (Providers, State, Modules, etc.)
⦁ Installing Terraform (Windows, Mac, Linux)
⦁ Running your first Terraform command (terraform version, terraform -help)
Goal: Understand what Terraform is and set up your environment.
Day 2: Terraform Basics — Configuration Files
⦁ Terraform file structure: .tf files, main.tf, variables.tf, outputs.tf
⦁ Providers and Resources
⦁ Writing your first Terraform configuration (e.g., create an AWS EC2 instance)
⦁ terraform init, plan, apply, destroy - Pending
Goal: Deploy your first infrastructure resource.
Day 3: Variables and Outputs
⦁ Declaring and using variables
⦁ Variable types (string, list, map)
⦁ Default values and variable files (.tfvars)
⦁ Using output blocks
Goal: Parameterize Terraform configurations for reusability.
Pending - loop in terraform
Terraform list of commands
Day 4: Terraform State Deep Dive
⦁ What is terraform.tfstate?
⦁ Local vs Remote state
⦁ State locking and consistency
⦁ How to inspect state (terraform show, terraform state list)
Goal: Understand and manage Terraform state safely.
Day 5: Data Sources and Dependencies
⦁ Using data sources (e.g., fetch existing VPC ID from AWS)
⦁ Implicit and explicit dependencies
⦁ depends_on usage
Goal: Learn to connect Terraform resources with external data.
Day 6: Terraform Provisioners
⦁ local-exec and remote-exec
⦁ File provisioner
⦁ When to use provisioners (and when not to)
Goal: Automate post-deployment tasks within Terraform.
Day 7: Terraform Modules (Basics)
⦁ What are modules and why use them?
⦁ Creating your first custom module
⦁ Using public modules (Terraform Registry)
Goal: Modularize infrastructure for better reusability.
Day 8: Advanced Terraform Modules
⦁ Input and output variables in modules
⦁ Module versioning
⦁ Nested modules
Goal: Build scalable, reusable modules for multi-environment setups.
Day 9: Terraform Workspaces
⦁ What are workspaces?
⦁ Managing multiple environments (dev, test, prod)
⦁ terraform workspace new, select, list
Goal: Manage environment-specific state easily.
Day 10: Remote State Management
⦁ Storing state in AWS S3, Azure Storage, or GCS
⦁ State locking with DynamoDB (AWS)
⦁ Backend configuration (backend "s3" {})
Goal: Configure remote backend for team collaboration.
Day 11: Terraform Cloud & Enterprise
⦁ Overview of Terraform Cloud
⦁ Workspaces in Terraform Cloud
⦁ Running Terraform in the Cloud
Goal: Learn how to use Terraform Cloud for collaboration.
Day 12: Terraform with AWS (Real Project)
⦁ Deploy a complete AWS VPC + EC2 + Security Groups setup
⦁ Use modules and variables
Goal: End-to-end AWS infrastructure with Terraform.
Day 13: Terraform with Azure / GCP
⦁ Deploy a basic resource group (Azure) or VM (GCP)
⦁ Configure provider credentials securely
Goal: Use Terraform with a second cloud provider.
Day 14: Terraform in CI/CD Pipeline
⦁ Integrate Terraform with GitHub Actions or Jenkins
⦁ Automate plan and apply
⦁ Store backend state securely
Goal: Infrastructure automation using DevOps tools.
Day 15: Best Practices & Interview Preparation
⦁ File/folder structure best practices
⦁ Security considerations (secrets, state)
⦁ Terraform linting (tflint), validation, and formatting
⦁ Common Terraform interview questions
Goal: Wrap-up and prepare for real-world usage.
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: