What spell, magic item, racial, or class ability will give you the most temporary HP?

I was wondering, using only the official hardcover books (no UA or 3rd party), what is temporary HP cap at lv 20?

class, playable race, feats, non-legendary magic items, and spells allowed. You can use an epic boon if you have a way in game to get one. (ie through a feat)