Move over ARM, Bicep is here.

Gavin Lewis
4 min readMar 16, 2021
Photo by Damir Spanic on Unsplash

I’ve never really taken to ARM templates on Azure, they feel fiddly and don’t read overly well. Even an ARM template generated from the Azure Portal is pretty horrific and in my opinion, has been a major negative for Azure for several years. For those reasons, my go-to for Azure Infrastructure as Code has always been Terraform, and although I still prefer the YAML defined CloudFormation templates on AWS, Terraform’s HCL is a pretty close second contender.

So what is Bicep? Microsoft claims:

Bicep is a Domain Specific Language (DSL) for deploying Azure resources declaratively. It aims to drastically simplify the authoring experience with a cleaner syntax, improved type safety, and better support for modularity and code re-use.

From my initial experience, and even though Bicep is still in preview, it is certainly everything they claim it to be. Pair this with the VSCode plugin and it was extremely easy to get started.

Everything you could do in ARM was available in Bicep on day one, which is rare for a tool in preview, but makes sense given Bicep is an abstraction that sits on top of ARM. You can even cross-compile your templates between the two, which is a…

--

--

Gavin Lewis

Passionate about building and delivering solutions in the Cloud! Principal Cloud Architect @ Rapid Circle. Views are my own.