Remove the husks and silk from the corn.
Place the trivet in the bottom of your instant pot, and add the corn cobs with 1 cup of water.
Close the lid, make sure the valve is set on "sealing", and set it to cook for 2 minutes on high pressure.
It'll take about 10 minutes for the Instant Pot to come to pressure. Once the countdown has finished, do a quick pressure release.