I have a VPC with a internet gateway already attached and I'm trying to create a cloudformation that adds new public and private subnets to the VPC.
The problem I'm having is that I don't know how to get the gateway id of the IG to update the route table of the public subnet.
Does anyone know how to do this without having to pass it as a parameter?