Maik van der Gaag 10/8/2025

Build a Custom Extension for Bicep

Read Original

This technical article explains how to build a custom local extension for Bicep, Microsoft's infrastructure-as-code language. It details the creation of an HTTP extension that allows Bicep templates to make API calls (GET, POST, PUT, DELETE, PATCH), enabling scenarios like updating a CMDB or fetching external data during deployments. The post walks through the code structure, key components like the Program.cs file and resource identifiers, and provides a practical example based on the author's open-source 'bicep-ext-http' project.

Build a Custom Extension for Bicep

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week

1
The Beautiful Web
Jens Oliver Meiert 2 votes
3
LLM Use in the Python Source Code
Miguel Grinberg 1 votes
4
Wagon’s algorithm in Python
John D. Cook 1 votes