Here's an excellent (relatively short) piece on strategy considerations wrt Iran.
https://thefederalist.com/2020/01/08/irans-attack-on-u-s-bases-is-a-face-saving-gesture-from-the-ayatollahs/
Here's an excellent snip wrt "thinking it through":
In all three cases (Afghanistan, Iraq, and Libya)...