BCPNFR3 - Usage Example formats
Usage examples for Bicep modules MUST be provided in the following formats:
Bicep file (orchestration module style) -
.bicep
module <resourceName> 'br/public:avm/[res|ptn|utl]/<publishedModuleName>:>version<' = { name: '${uniqueString(deployment().name, location)}-test-<uniqueIdentifier>' params: { (...) } }
JSON / ARM Template Parameter Files -
.json
{ "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", "contentVersion": "1.0.0.0", "parameters": { (...) } }
The above formats are currently automatically taken & generated from thetests/e2e
tests. It is enough to run theSet-ModuleReadMe
orSet-AVMModule
functions (from theutilities
folder) to update the usage examples in the readme(s).
Bicep Parameter Files (.bicepparam
) are being reviewed and considered by the AVM team for the usability and features at this time and will likely be added in the future.