aznamingtool, custom naming implementation?
We just deployed landing zones (using custom deployment tool). We have generated the naming convention we want with aznamingtool. I can't find any instructions on how to enforce the naming convention. Azure policy?
We have attempted to include an Azure Policy definition in the Azure Naming Tool v2 but there are technical limitations blocking us from including it. There is a feature in Azure Policy that will be released in the future that will allow us to include an Azure Policy definition in the tool, but we are at the mercy of the Azure Policy feature release. There are two ways you can enforce your naming convention: Azure Policy and infrastructure as code (IaC). For Azure Policy, I wrote a blog article a while ago that may help: https://jasonmasten.com/2021/02/15/enforce-your-azure-naming-convention-with-azure-policy/. For IaC, use a pipeline to deploy your templates to control who and how your resources are deployed.