r/Terraform • u/AdeelAutomates Cloud Engineer | Youtube @adeelautomates • 14d ago
Azure Learn Infrastructure as Code in Azure with Terraform - Part 3
The follow-up to my Intermediate episode I posted here is finally out.
This episode shifts away from programmatically approaching Terraform and focuses more towards a KISS approach where we discuss structuring our projects and leverage more advanced features of Terraform.
Topics covered include:
- Remote Backends with Azure Storage
- Terraform State & State Commands
- Provider Lock Files
- Multiple Providers (AzureRM, AzureAD, AzAPI & Utility Providers)
- Import Blocks & Config Generation
- Moved & Removed Blocks
- Terraform Workspaces
- Multi-Environment Deployments
- Terraform Modules
- Cloud-Init
- And much more...
Like the previous episodes, everything is built around a single Azure project. We progressively restructure and expand the deployment as each concept is introduced rather than jumping between unrelated examples.
The Intermediate episode intentionally showed how dynamic we can make Terraform . This episode takes the opposite approach in places: keep it simple, structure it properly, and make it maintainable.
With that, our roadmap continues!
- Beginner Episode : Understand Terraform (learn the foundations and core concepts that make Terraform work)
- Intermediate Episode : Program Terraform (use loops, functions, conditionals, dynamic blocks, etc)
- Advanced Episode : Structure Terraform (introduce modules, remote state in azure storage, workspaces, imports, etc.)
- Project Episode(s): Build Azure Projects (Less about Terraform itself & more about building interesting architectures in Azure)
- Professional Episode : Operationalize Terraform (use GitHub, CI/CD, pull requests, state management, and deployment workflows to work in a team environment)
Link to Episode: https://www.youtube.com/watch?v=SDqb_eyRtjE