Select the SAUTÉ setting on your Instant Pot and heat the vegetable oil.
Add the whole garlic cloves, baby potatoes, and the fresh rosemary sprig.
Cook, stirring occasionally, for about 10 minutes or until the skins of the potatoes start to blister and brown.
Using a fork, gently pierce the middle of each potato to allow the cooking liquid and flavors to penetrate.
Pour in the stock, then season with the salt and ground black pepper.
Stir well to coat the potatoes evenly. Press the CANCEL key to stop the SAUTÉ function.
Close and lock the Instant Pot lid. Select the MANUAL setting and cook at HIGH pressure for exactly 7 minutes.
When the timer beeps, immediately use a Quick Release to vent the steam. Carefully unlock and remove the lid, toss your finished Garlic Roasted Potatoes gently in the fragrant sauce, and serve immediately.
Don't Skip the Sear: Taking the full 10 minutes to brown the potatoes and garlic on the Sauté function is the secret to mimicking an oven-roasted texture in an Instant Pot. It triggers the Maillard reaction, building a deep, savory flavor base.