Loading video player...
๐ฅ ๐ง๐ฒ๐ฟ๐ฟ๐ฎ๐ณ๐ผ๐ฟ๐บ ๐ช๐ผ๐ฟ๐ธ๐๐ฝ๐ฎ๐ฐ๐ฒ๐ ๐๐ ๐ฝ๐น๐ฎ๐ถ๐ป๐ฒ๐ฑ โ ๐ ๐๐น๐๐ถ-๐๐ป๐๐ถ๐ฟ๐ผ๐ป๐บ๐ฒ๐ป๐ ๐๐ฒ๐ฝ๐น๐ผ๐๐บ๐ฒ๐ป๐๐ ๐ผ๐ป ๐๐ช๐ฆ In this video, weโll dive deep into Terraform Workspaces and learn how to manage multiple environments (๐๐ฒ๐, ๐ฆ๐๐ฎ๐ด๐ฒ, ๐ฃ๐ฟ๐ผ๐ฑ) using a single Terraform configuration. Youโll see a real-world demo of deploying a static website on ๐๐ช๐ฆ ๐ฆ๐ฏ using ๐ง๐ฒ๐ฟ๐ฟ๐ฎ๐ณ๐ผ๐ฟ๐บ ๐ช๐ผ๐ฟ๐ธ๐๐ฝ๐ฎ๐ฐ๐ฒ๐ โ showcasing how easy it is to switch between environments and manage infrastructure efficiently. By the end of the video, youโll understand: โ What Terraform Workspaces are and why theyโre useful โ How to configure multi-environment deployments โ How to host static websites on S3 buckets with Terraform โ How to clean up your resources to avoid extra costs ๐ ๐ฅ๐ฒ๐ฎ๐ฑ ๐๐ต๐ฒ ๐ณ๐๐น๐น ๐ฏ๐น๐ผ๐ด ๐ณ๐ผ๐ฟ ๐ฑ๐ฒ๐๐ฎ๐ถ๐น๐ฒ๐ฑ ๐ฒ๐ ๐ฝ๐น๐ฎ๐ป๐ฎ๐๐ถ๐ผ๐ป: ๐ https://blog.praveshsudha.com/terraform-workspaces-and-multi-environment-deployments ๐ป Get the source code on GitHub: ๐ https://github.com/Pravesh-Sudha/terra-projects/ (๐๐ข๐ท๐ช๐จ๐ข๐ต๐ฆ ๐ช๐ฏ๐ด๐ช๐ฅ๐ฆ ๐ต๐ฉ๐ฆ ๐ต๐ฆ๐ณ๐ณ๐ข๐ง๐ฐ๐ณ๐ฎ-๐ธ๐ฐ๐ณ๐ฌ๐ด๐ฑ๐ข๐ค๐ฆ-๐ด3 ๐ฅ๐ช๐ณ๐ฆ๐ค๐ต๐ฐ๐ณ๐บ) โฑ ๐ง๐ถ๐บ๐ฒ๐๐๐ฎ๐บ๐ฝ๐ 0:00 - 0:32 โถ๏ธ Introduction 0:32 - 1:02 โถ๏ธ Pre-Requisites 1:02 - 2:24 โถ๏ธ What are Terraform Workspaces? 2:24 - 4:41 โถ๏ธ Understanding the Code 4:41 - 5:08 โถ๏ธ Practical Demo 5:08 - 6:02 โถ๏ธ Access the Different Envs 6:02 - 6:32 โถ๏ธ Deleting the Resources 6:32 - 7:10 โถ๏ธ Conclusion ๐ง ๐๐ผ๐ป๐ป๐ฒ๐ฐ๐ ๐๐ถ๐๐ต ๐บ๐ฒ ๐ ๐ช๐ฒ๐ฏ๐๐ถ๐๐ฒ: https://blog.praveshsudha.com ๐ฆ ๐ง๐๐ถ๐๐๐ฒ๐ฟ/๐ซ: https://x.com/praveshstwt ๐ผ ๐๐ถ๐ป๐ธ๐ฒ๐ฑ๐๐ป: https://www.linkedin.com/in/pravesh-sudha/ ๐บ ๐ฌ๐ผ๐๐ง๐๐ฏ๐ฒ: https://www.youtube.com/@pravesh-sudha ๐ฌ ๐ฆ๐๐ฝ๐ฝ๐ผ๐ฟ๐ ๐๐ต๐ฒ ๐๐ต๐ฎ๐ป๐ป๐ฒ๐น If you found this helpful, donโt forget to Like ๐, Share ๐, and Subscribe ๐ for more DevOps & Cloud content! #Terraform #AWS #DevOps #TerraformWorkspace #InfrastructureAsCode #AWSS3 #Automation #CloudComputing #TerraformTutorial #IaC #HashiCorp #MultiEnvironment #S3Website #DevOpsProject #TerraformOnAWS #AWSProjects #TerraformBeginner #DevOpsEngineer #PraveshSudha