Перейти к содержимому

EP08 - Terraform State

Devops Basics with Dali

0:00 / 0:00

EP08 - Terraform State

36 просмотров · 2 нед. назад
Devops Basics with Dali
78 подписчиков
36 просмотров · 2 нед. назад
🚀 In this episode, you'll learn what the Terraform State file is, why it exists, and how Terraform uses it to manage your infrastructure safely. We'll go far beyond theory by performing real hands-on demonstrations, including importing existing AWS resources, moving resources inside the State, and removing resources from State without deleting them from AWS. You'll also see how Terraform State acts as the bridge between your code and your real cloud infrastructure. ━━━━━━━━━━━━━━━━━━━━━━ What you'll learn What is Terraform State? Understanding the terraform.tfstate file Inspecting Terraform State How Terraform tracks infrastructure Terraform State vs Real Infrastructure terraform state list terraform state show terraform state mv terraform import terraform state rm Importing existing AWS resources Renaming Terraform resources safely Why Terraform wants to recreate infrastructure Understanding Configuration vs State vs AWS AI Tip: Using AI to improve Terraform code safely ━━━━━━━━━━━━━━━━━━━━━━ Hands-On Demo In this episode we will: Create AWS infrastructure with Terraform Rename Terraform resources without recreating infrastructure Import an existing EC2 instance into Terraform Remove a resource from Terraform State Restore the relationship using terraform import Understand how State connects configuration with AWS ━━━━━━━━━━━━━━━━━━━━━━ Official Documentation Terraform State Documentation: https://developer.hashicorp.com/terra... Terraform Import: https://developer.hashicorp.com/terra... Terraform State Commands: https://developer.hashicorp.com/terra... ━━━━━━━━━━━━━━━━━━━━━━ 📦 Source Code https://github.com/dalita/devops-basi... 🎥 Playlist Terraform for Beginners ☕ Subscribe for more DevOps content ━━━━━━━━━━━━━━━━━━━━━━ Next Episode In EP09, we'll stop using the default AWS networking and build a production-style AWS network from scratch with Terraform. We'll create: VPC Public and Private Subnets Internet Gateway Route Tables Security Groups and prepare the networking foundation for the rest of the Terraform series. If you found this video helpful, consider subscribing and following the rest of the Terraform for Beginners series. Happy Learning! 🚀 #terraform #TerraformState #TerraformImport #infrastructureascode #IaC #aws #amazonwebservices #cloudcomputing #devops #devopsengineering #cloudengineer #awscloud #hashicorp #ec2 #terraformtutorial #TerraformForBeginners #awstutorialforbeginners #LearnTerraform #techeducation #DevOpsBasicsWithDali