Instead of returning outputs like
@description('The name of the VM.')
output virtualMachineName string = virtualMachine.name
@description('The Resource ID of the VM.')
output virtualMachineResourceId string = virtualMachine.id
@description('The name of the Resource Group the VM was created in.')
output virtualMachineResourceGroup string = resourceGroup().name
where the outputs are different from module to module we should rather output
@description('The name of the VM.')
output name string = virtualMachine.name
@description('The Resource ID of the VM.')
output resourceId string = virtualMachine.id
@description('The name of the Resource Group the VM was created in.')
output resourceGroupName string = resourceGroup().name
Instead of returning outputs like
where the outputs are different from module to module we should rather output