Stop wasting time manually crafting Azure resource names and eliminate naming inconsistencies across your infrastructure. This Terraform module automates your entire Azure naming convention, ensuring every resource—from resource groups to storage accounts to key vaults—follows your organizational standards automatically.
What you get:
- Instant productivity: Define your convention once, apply it everywhere—across all 70+ Azure resource types and Azure Regions!
- Zero errors: No more typos, forgotten abbreviations, or inconsistent patterns
- Multi-region made simple: Deploy to multiple Azure Regions with automatic location-aware naming
- Multi-Provider flexibility: Supports both the
azurermandazapiAzure providers for Terraform for maximum flexibility of adhering to your naming convention - Team alignment: Everyone on your team uses the same naming standard without thinking about it
- Proven foundation: This module is built on and extends Microsoft’s official Azure/naming/azurerm module
Example Usage
module "azure_primary" {
source = "Build5Nines/naming/azure"
organization = "b59"
environment = "prod"
location = "East US" # or "eastus"
}
resource "azurerm_resource_group" "main" {
name = module.azure_primary.resources.resource_group.name
location = module.azure_primary.location
}