A planet’s resources are the leftmost value that is surrounded by a yellow border on the planet’s system tile and planet card.
This is the official Living Rules Reference wording under Resources.
LRR v2.0 (base game / Prophecy of Kings); specific card abilities may override the general rule.