Preheat the oven to gas mark 7 (220°c).
Drizzle the butternut squash with 2 tablespoons of olive oil and roast in the oven for 35 to 40 minutes.
Heat 1 tablespoon olive oil in a large pan. Add the carrot and sweetcorn and cook for 5 minutes.
Add the onion, garlic, baby sweetcorn and mangetout and cook for a further 3 minutes.
Add the Thai red curry paste until the vegetables are well coated. Add the tin of coconut milk and allow to simmer for 15 to 20 minutes.
Cook the rice according to packet instructions.
Once roasted, stir the butternut squash into the Thai red curry, and serve with the rice.