Member-only story
Azure Bicep Monthly Updates — July 2024
There wasn’t a release brought out in June. The Bicep team has shifted everything to July and bring in a fresh landing of v0.29.45.
It’s time to go through the release and discover two experimental features shipped.
Experimental Bicep extendable parameters
Engin Polat, the software engineer working on extendable parameters, has worked on this feature for a while now and got great feedback from the Bicep community calls.
The feature allows you to extend .bicepparam
from other .bicepparam
files. This allows you to reuse parameters across multiple deployments.
Think about a location
parameter, or even parameters that always should contain secure()
decorator. These can be found across many deployments. Having the ability to reuse .bicepparam
files, helps bringing in more modularity to Bicep.
To enable the experimental feature, you can add the following in your bicepconfig.json
file:
{
"experimentalFeaturesEnabled": {
"extendableParamFiles": true
}
}
To reuse .bicepparam
files across other deployment files, you have to set the using
and extends
keyword:
// shared.bicepparam
using none
param location = 'westeurope'
// main.bicepparam
extends…