Share Bicep modules by using private registries

DevOps Engineer
Azure Resource Manager

Reuse Bicep modules to reduce code duplication and increase the quality of your deployments. Create a private registry for your organization. Publish shared modules to the registry, and consume them in multiple deployments.

Learning objectives

After completing this module, you'll be able to:

  • Create a private registry for your own organization
  • Publish a module to, and consume a module from, a private registry


You should be familiar with using:

  • Bicep, including how to use modules and parameters, and how to deploy Bicep files to Azure.
  • Azure, including the Azure portal, subscriptions, resource groups, and resources.

To work through the exercises, you also need the following items installed locally: