Add formula property to ARM tempalte
After generating an ARM template by using the Azure Portal, through the selection of a formula, I find that the ARM template isn't referencing the formula but the list of artifacts instead.
This means that if my Lab owner changes the formula, the ARM template is obsolete and no longer generated up-to-date lab VMs when the ARM template is used.
Rather than having a list of artifacts and a property for the custom image, I'd like to reference the formula directly. Hence, it would be the provider's responsibility to create the VM according to the formula, rather than having to query for the formula object, generate a template at runtime and later create a template-based lab VM.
Sharing a new template every time the formula is changed makes the formula itself irrelevant and also, forces us to make the template visible outside the scope of the service which calls the ARM endpoints - this is a potential security breach we cannot accept.
Not being able to actually use the formula in an ARM template makes the entire use of formulas somewhat redundant in the context of automation.
The acceptance criteria for this would be so that, ideally, the ARM template would take in a formula reference (e.g. name of the formula) and create the VMs automatically based on the configured formula.
Thanks for submitting feedback. We have added this to our backlog. For anyone who would like to see this feature sooner, please vote for it. We will update this post when we have a timeline.
Apologies for the typos