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

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

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!

No alt text provided for this image

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.

No alt text provided for this image

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

No alt text provided for this image

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

No alt text provided for this image

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.

No alt text provided for this image

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.

No alt text provided for this image

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!

No alt text provided for this image

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



要查看或添加评论,请登录

社区洞察

其他会员也浏览了