conditional output from ARM template
ARM template supports condition for resources which is a great feature. I can now include a storage account resource in the ARM template, but it will only be created under certain condition. However, if I would like to output the storage account's keys using reference() function, there will be an error when the resource isn't actually created. This would cause a deployment failure and no other output will be returned.
I would love to have the ability to set conditions on outputs so the reference() function won't be evaluated if the condition is not met.
This is now completed, see: https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-group-authoring-templates#outputs
Thanks all for driving this change.