Add the ability to scrape a bicep template and generate a JSON schema from declared bicep params.
Note: The resulting JSON schema doesn't represent a valid bicep params.json file since bicep requires a custom format where each top level parameter has its value listed under a value key. To illustrate, normal JSON would look like:
{
"foo": "bar"
}
Whereas bicep wants the JSON to look like:
{
"foo": {
"value": "bar"
}
}
Instead of exposing this peculiarity to the users in our params schema, we just handle the transformation in the provisioner image.
Add the ability to scrape a bicep template and generate a JSON schema from declared bicep params.
Note: The resulting JSON schema doesn't represent a valid bicep params.json file since bicep requires a custom format where each top level parameter has its value listed under a
value
key. To illustrate, normal JSON would look like:Whereas bicep wants the JSON to look like:
Instead of exposing this peculiarity to the users in our params schema, we just handle the transformation in the provisioner image.