thats great, thanks Stuart, it worked. i tried something similar but I was doing the below
module.deploy_subnet.obc_subnet["sub-1].name
I realise now that this doesnt make sense as the attribute of name was already outputted in the child module and I have to reference that output in my root module