Companion Azure Terraform template library¶
Cloud2BR-MSFTLearningHub/AzureTerraformTemplates-v0.0.0 is the companion repository for service-organized Azure deployment examples.
Open its documentation website Browse the source templates
How the repositories fit together¶
| Terraform Overview | AzureTerraformTemplates |
|---|---|
| Learn concepts and workflows progressively | Explore Azure resource/service-specific samples |
| Begin with no-cloud exercises | Adapt actual Azure deployment configurations |
| Practice state, modules, mocks, review, cleanup | Review each service's dependencies, provider versions, and costs |
| Original small teaching modules | Broader independently maintained sample collection |
The v0.0.0 repository name is not a Terraform CLI or AzureRM provider version.
Inspect its required_version, provider constraints, and lock files.
Do not assume every sample has been migrated to the AzureRM version used here.
Browse by service¶
| Area | Companion source category |
|---|---|
| Resource groups, VNet, subnets, NSGs, public IP | Core infrastructure |
| Storage and data services | Storage and databases |
| VMs, App Service, Functions, containers, AKS | Compute and containers |
| Load balancing, gateways, VPN, firewall | Networking |
| Identity, Key Vault, and policy | Identity and security |
| Data Factory, Databricks, Event Hubs, analytics | Analytics and big data |
| Logging, monitoring, automation | Monitoring and management |
| Connected devices | IoT |
| AI and machine learning | AI/ML |
| Migration and backup | Migration/backup |
| Media delivery and processing | Media services |
Adapt a template safely¶
- Select the smallest relevant service folder and read all of its files.
- Record the source commit, license, Terraform/provider versions, and dependencies.
- Check credentials, sensitive inputs, public endpoints, SKUs, API behavior, resource naming, region support, and destructive lifecycle behavior.
- Decide whether to run it as an isolated root or refactor it into an approved module. Do not concatenate multiple roots/provider/backend blocks blindly.
- Assign each resource to one state owner. Resolve duplicate groups/networks deliberately; a data source is a reference, not an import.
- Run format/init/validate and inspect tests before running them.
- Review an authenticated plan with your own isolated state and identity.
- Apply only with approval, verify runtime behavior, and test cleanup.
Boundaries¶
This overview links to the library; it does not duplicate its Terraform files, change its license, validate all of its templates, or certify their deployment. The companion repository and its templates retain their own license. Use its current safety guide as well as each template README.