Preheat your oven to 425 degrees.
In a deep, heavy-bottom pot (like a Le Cruset), heat a few tablespoons of olive oil up over medium heat. Add your onions and cook for 3 minutes then add your garlic, curry powder and curry paste. Cook until onion is soft.
Add the potatoes and carrots into your pot and sauté them for about 10 minutes (or until they start to soften up). Add ½ cup of the vegetable stock, salt/pepper and bring the mixture to a boil.
Once boiling, add the coconut milk and fried tofu. Bring back up to a simmer and cook until the mixture is thick (about 5 minutes). Remove mixture from heat, stir in the frozen peas.
Once the mixture is cooled a little bit, divide mixture into greased ramekins (or one large pie dish) and top with the puff pastry. If you’re using ramekins, I suggest lining them up on a baking sheet.
Brush the tops of the pastry with the egg/water mixture, then cut a small slit in the center of the pastry to let steam escape while the dish bakes.
Bake in the oven for 15 minutes (or until the puff pastry is puffed and golden).