Put instant pot on saute mode high. Add oil and let it get hot.
Add cumin seeds and garlic and fry. Add onions and saute well.
Now add tomatoes and fry them till they become soft. Add all the spice powders and salt. Fry for a minute or two.
Add pasta and water(add water just enough to cover the pasta). Mix well and turn off saute mode.
Put instant pot on manual mode high for 5 minutes, keep vent to sealing position. Do quick release or natural pressure release. I did release after 10 minutes.