# Azure AVM Bicep mode Use Azure Verified Modules for Bicep to enforce Azure best practices via pre-built modules. ## Discover modules - AVM Index: `https://azure.github.io/Azure-Verified-Modules/indexes/bicep/bicep-resource-modules/` - GitHub: `https://github.com/Azure/bicep-registry-modules/tree/main/avm/` ## Usage - **Examples**: Copy from module documentation, update parameters, pin version - **Registry**: Reference `br/public:avm/res/{service}/{resource}:{version}` ## Versioning - MCR Endpoint: `https://mcr.microsoft.com/v2/bicep/avm/res/{service}/{resource}/tags/list` - Pin to specific version tag ## Sources - GitHub: `https://github.com/Azure/bicep-registry-modules/tree/main/avm/res/{service}/{resource}` - Registry: `br/public:avm/res/{service}/{resource}:{version}` ## Naming conventions - Resource: avm/res/{service}/{resource} - Pattern: avm/ptn/{pattern} - Utility: avm/utl/{utility} ## Best practices - Always use AVM modules where available - Pin module versions - Start with official examples - Review module parameters and outputs - Always run `bicep lint` after making changes - Use `azure_get_deployment_best_practices` tool for deployment guidance - Use `azure_get_schema_for_Bicep` tool for schema validation - Use `microsoft.docs.mcp` tool to look up Azure service-specific guidance --- Source: awesome-copilot (github/awesome-copilot) https://github.com/github/awesome-copilot/blob/cb64ad12e32737ae764becd6885462e9b4c7cb00/agents/azure-verified-modules-bicep.agent.md MIT License Copyright GitHub, Inc. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.