
To generate resources automatically in Azure, you could either do Azure Resource Manager templates, which no one really wanted to do because they are far too complex and clumsy - or use third-party solutions Terraform and Pulumi.
After many years, Microsoft has finally recognized this and has created a declarative language that should solve this problem - and actually does: Bicep .
Even I, who always avoided ARM templates - now write Infrastructure as Code with Bicep!
The base of every Azure Resource is always a Resource Group, this would look like this via Bicep:
1
2var name = 'MyResourceGroup'
3var location = 'GermanyWestCentral'
4
5resource rg 'Microsoft.Resources/resourceGroups@2021-01-01' = {
6 name: name
7 location: location
8}
So simple - and even variables are supported!
Compared, no joke, the hell of ARM:
1{
2 "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
3 "contentVersion": "1.0.0.0",
4 "parameters": {
5 "rgName": {
6 "type": "string"
7 },
8 "rgLocation": {
9 "type": "string"
10 }
11 },
12 "variables": {},
13 "resources": [
14 {
15 "type": "Microsoft.Resources/resourceGroups",
16 "apiVersion": "2018-05-01",
17 "location": "[parameters('rgLocation')]",
18 "name": "[parameters('rgName')]",
19 "properties": {}
20 }
21 ],
22 "outputs": {}
23}
Bicep is so much better!
Bicep
Bicep is a declarative language that has taken the best components from Terraform, Pulimi and Azure Resource Manager templates, but has also learned from open source approaches like Farmer.
The result is a wonderful, but proprietary language for handling Azure services and resources.
From day one, Microsoft has focused on simplicity during development, something they have always disregarded with ARM templates.
However, one must know: Bicep virtually compiles the declarative language into ARM templates: only the developer and IT person don’t notice it.
Share via Azure Container Registry
The creation of a bicep registry is also supported. For this purpose, it is possible to upload Bicep templates or Bicep modules to an Azure container registry and thus make them available to others securely and centrally - even in a professional DevOps process!
Create private registry for Bicep modules
Conclusion
This should only be a short insight and hint, from myself as a developer: Bicep can also make a developer!
It is super simple, very intuitive and easy as pie!
It works. For everybody.
Related articles

Feb 26, 2026 · 6 min read
Run Azure Cosmos DB locally with .NET Aspire and make emulator endpoints visible in the dashboard
When building cloud-native .NET applications, two goals often matter at the same time: a fast local development loop and a clean path to …

Sep 24, 2025 · 9 min read
Automatically discover tools for Azure OpenAI Realtime API
Azure now provides a unified Realtime API for low‑latency, multimodal conversations over WebRTC or WebSockets. If you’ve used the earlier …

Sep 01, 2025 · 3 min read
Azure Document Intelligence – Fix: ContentSourceNotAccessible (Invalid data URL)
Problem Training custom models (for example, delivery notes) in Azure Document Intelligence initially worked fine. Suddenly, both training …
Let's Work Together
Looking for an experienced Platform Architect or Engineer for your next project? Whether it's cloud migration, platform modernization or building new solutions from scratch - I'm here to help you succeed.

Comments