Making thick yogurt in an instant pot

Making thick yogurt in an instant pot

thicker yogurt:1
thicker yogurt:2
I like to make yogurt in my instant pot but I find it can be a little runny. I add about a tablespoon or two of sugar to the whole milk I used. The yogurt was nice and firm and the taste was great.