new-azdeployment -Location 'Australia East' -Name 'carml' -TemplateFile ./patterns/demo/main.bicep -TemplateParameterFile ./patterns/demo/main.parameters-2.json -Verbose
resources
| where tags['hidden-module_name'] matches regex '.'
| summarize count() by type
resources
| where type =~ "microsoft.keyvault/vaults"
| where tags['hidden-module_name'] =~ 'key-vault/vault'
| project name, tags
| mvexpand tags
| extend tagKey = tostring(bag_keys(tags)[0])
| extend tagValue = tostring(tags[tagKey])
| distinct name, tagKey, tagValue
| where tagKey =~ "hidden-module_version"
| project KeyVaultName = name, OverlayModuleVersion = tagValue