It looks like resourceGroupName is an input only property on most resources. I assume that's just an oversight for most cases because resourceGroupName is normally required so we can just output what the user gave us.
I'd suggest raising an issue at
https://github.com/pulumi/pulumi-azure-native/issues/ to request this.
In the mean time I'd add an extra stack output in the first stack to just pass this information along.