Sitemap

Bicep param files now available, upgrade to v0.18.4!

3 min readJun 15, 2023
Press enter or click to view image in full size

You might have seen my post a few days ago on Bicep parameter files. That was based on an experimental feature. Bicep version 0.18.4 is released now which, amongst other features and fixes, contains support for the new bicep parameter files!

Time to upgrade!

Press enter or click to view image in full size

Besides the Bicep parameter files itself now being available, a couple of additional features are also included as part of it,

Similar functionality we’ve had before, decompiling ARM Templates into Bicep templates, is now also available parameters files. Simply right-click a parameters file based on JSON, and select Decompile into Bicepparams.

Press enter or click to view image in full size

On a similar note, you can also select any Bicep template, right-click and select Generate Parameters File.

Press enter or click to view image in full size

This option was there before, but you now have a new choice, generating bicepparam files!

Press enter or click to view image in full size

Within the bicepparm file itself, you can now also use expressions using any functions in the sys namespace, for example we can use the uniqueString() function as shown below.

Press enter or click to view image in full size

Bicepparam files are now also natively supported when deploying using Az CLI as well as PowerShell. For example, using Az CLI you can now pass bicepparm files as shown below.

Press enter or click to view image in full size

As I mentioned in my previous post, having parameters files in ‘Bicep style’ was a very common request, and it’s great to now see it out there!

And finally, did you notice bicepparam files have their own icon? How cool is that!

Looking to get started with Bicep? I authored and published the book Getting started with Bicep: Infrastructure as code on Azure

--

--

Freek Berson
Freek Berson

Written by Freek Berson

Empowering hybrid and remote workforces with a digital workspace from any device, anywhere. EUC Enthusiast, Microsoft MVP, 🎤 public speaker, 📚 Author.

No responses yet