This may or may not help you since I had to do a bit of reverse engineering to figure out how you were doing stuff so chances are I'm not doing it in alignment with what you want planned for your module. But I finally got some time to come back to this and since I didn't know where you were up to I just decided to create the functionality I needed with the updated schema.
Added
Use-CfnImportFunction
Use-CfnSubFunction
Added export parameter to Add-CfnOutput
Added the nested stacks I created that you could probably use for examples for those visual peoples like me
Example export
Add-CfnOutput -Description 'Exports the ID of the Prod public subnet in 2a' -OutputName ProdPublicSubnetExport2a -Value (Use-CfnRefFunction -LogicalName VPC1Subnet1a) -Export @{
Name = 'VPC1-ProdPublic2a'
}
This may or may not help you since I had to do a bit of reverse engineering to figure out how you were doing stuff so chances are I'm not doing it in alignment with what you want planned for your module. But I finally got some time to come back to this and since I didn't know where you were up to I just decided to create the functionality I needed with the updated schema.
Added
Example export
Example import