Azure Bicep Registry Modules

repository·main·Indexed 20 days ago

https://github.com/azure/bicep-registry-modules

Source code for Azure Verified Modules (AVM) for Bicep. This repository provides standardized, Microsoft-verified Bicep modules published to the Public Bicep Registry to ensure consistent and high-quality infrastructure-as-code deployments, including modules for AKS Automatic Clusters and Private Link Private DNS Zones.

Tokens
226.9K
Snippets
464
Records
823
Agent score
68%

What's inside azure-bicep-registry-modules

  1. Deploy Hybrid Compute Machines `[Microsoft.HybridCompute/machines]`

    main

    This module deploys an Arc Machine specifically for use with Arc Resource Bridge for either Azure Stack HCI or VMware.

    Important Usage Note: This module is intended to be used in combination with another resource module to create the required Virtual Machine Instance extension resource on this Arc Machine.

    Do not use this module for other Arc-enabled server scenarios where the Arc Machine resource is automatically created during the standard onboarding process.

    module machine 'br/public:avm/res/hybrid-compute/machine:<version>' = {
      params: { (... ) }
    }
  2. Configure Azure Maps Account [Microsoft.Maps/accounts]

    main
    This module deploys an Azure Maps Account. It supports advanced security features including Customer-Managed Keys (CMK), infrastructure encryption (double encryption), and managed identities. You can also configure CORS rules for the Blob service and define role assignments for access control.
  3. Deploy an Azure Stack HCI Logical Network

    main

    This module deploys an Azure Stack HCI Logical Network (Microsoft.AzureStackHCI/logicalNetworks). You can consume this module via Bicep, JSON parameters files, or Bicep parameters files using the registry syntax: br/public:avm/res/azure-stack-hci/logical-network:<version>.

    module logicalNetwork 'br/public:avm/res/azure-stack-hci/logical-network:<version>' = {
      params: { (... ) }
    }
  4. Configure Private Link Private DNS Zones

    main

    This module deploys multiple Private Link Private DNS Zones and links them to a specified Virtual Network. It supports automatic placeholder replacement for region-specific DNS zones using {{regionCode}} (e.g., uks for UK South) and {{regionName}} (e.g., uksouth for UK South).

    To use the module, you must provide at least the virtualNetworkResourceId to link the zones to your network. You can choose to deploy the default set of zones, exclude specific ones, or provide a custom list via privateLinkPrivateDnsZones.

    /* Example usage concept */
    module privateDnsZones 'avm/ptn/network/private-link-private-dns-zones' = {
      name: 'dns-zones-deployment'
      params: {
        virtualNetworkResourceId: '/subscriptions/.../resourceGroups/.../providers/Microsoft.Network/virtualNetworks/myVnet'
        location: 'uksouth'
      }
    }
  5. Configure Service Groups [Microsoft.Management/serviceGroups]

    main

    The Service Groups module allows you to create a service group and optionally associate subscriptions and resource groups to it.

    Important Limitation: This module currently only supports associating Subscription and Resource Group types. Individual resource types (like storage accounts or virtual machines) are not supported for association at this time.

    /* Use this module to manage Microsoft.Management/serviceGroups resources */
  6. Configure Network Interface [Microsoft.Network/networkInterfaces]

    main
    The Network Interface module allows you to deploy an Azure Network Interface resource. It supports advanced features like accelerated networking, IP forwarding, and auxiliary mode. You can also configure IP configurations, attach Network Security Groups (NSGs), and manage diagnostic settings and role assignments directly within the module.