Skip to content

matsest/bicep-registry-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bicep Registry Demo

This demo repository has been overhauled and extensively updated. If you want to see the original version, check out the demo-v1 tag.

Latest tag Publish Consume

The repo contains a demo to showcase how to work with a private Bicep Module Registry:

  1. ⚙️ Setting up a private Bicep Module Registry
  2. ⬆️ Publishing a module to a registry
  3. ⬇️ Deploy resources by consuming modules from a private and public registry

For each section there is an accompanying README that adds more details. The steps makes use of GitHub Actions to push and pull from the registry, as well as for deploying templates.

diagram

Prerequisites

  • PowerShell 7
  • Azure CLI (2.42+)
  • Azure PowerShell module (9.0+)
  • Bicep (install with az bicep install or upgrade with az bicep upgrade) (0.12+)
  • An Azure subscription with Owner permissions
  • Permission to create service principals in Azure AD

Note: You can also open this repository in VS Code with a Dev Container to have all tools ready to use.

Usage

  1. Fork this repo
    • click Fork in the top-right corner
  2. Clone your fork of the repo
    • git clone <repo url>
  3. Get started with setting up the registry
  4. Follow up with publishing modules to the registry
  5. Deploy templates that consume modules from private and public registry

Learn more

License

MIT License