What perhaps may forever be speculation is why Iran chose to target this small compound. Maybe they called up Russia and borrowed an ELINT satellite and detected US military transmissions of interest from the communications tower next to this compound. Maybe they hacked the phone of some US military service member or followed them around. Or maybe they just saw in their own imagery that this compound was used over time for storing tanks and other equipment and therefore it was added to their list for this reason alone. My earlier comment just aims to highlight the fact the compound _could_ have been discovered to have a military purpose without fancy ELINT satellites, spies on the ground, etc. I doubt it was advertised. But it also wasn't particularly well hidden.
[1] https://en.wikipedia.org/wiki/2026_Port_Shuaiba_drone_attack