Introduction to Azure Bicep

Maciej
2 min readAug 31, 2021

Introduction

Sometimes when we deploy resources using ARM templates, it’s very difficult, For example fully configured Application Gateway template for one environment has become a masterpiece with over 4000 lines.

I once made a shape on the portal, exported it on ARM, modified it, and created it, but it still took a long time, and moreover, I get a deployment error, This time we can say goodbye to such hardships and use Azure Bicep which will significantly facilitate our work.

What exactly is Azure Bicep?

Azure Bicep is a domain-specific language (DSL) that deploys Azure resources using declarative syntax. Until now, when IaC was used in Azure, it was common to use the Azure Resource Manager template (ARM template) .
However … this ARM template is very verbose. ARM templates are written in JSON, so they tend to be long and cumbersome.

Bicep is an abstraction of the redundant ARM template, and can be converted as Bicep⇔ARM template.

Install Azure Bicep in Windows

Bicep utilizes the Azure CLI. Enter the following command at the command prompt of the environment where CLI is installed.

az bicep install

--

--

Maciej

DevOps Consultant. I’m strongly focused on automation, security, and reliability.