The iranians should be thanking the UN and USA, without both being there along with international law, Iran would have been destroyed by Israel far before this crisis, it still may happen, Israel wouldn't be very happy the retaliation on the air bases even though staged and a nothing as a real response was not used as a staging point under international law where the US could have escalated into full out war, Iran would have been dumb enough to fire rockets at US allies in response to further retaliation including Israel from which Israel along with the US could have absolutely obliterated the Iranian defence forces and the key nuclear program and sites.
I dont want a war and I am glad its de escalated as Wars wreck economies and I'm like everyone else in the west dependant on one for a better quality of life, but dont think for one second that history won't record this attack as the greatest opportunity to weaken and destabilise Iran, sanctions under non democratic states like Iran, China and even pretend democracies like Russia dont work, the people feeling the economic pressure dont get to vote out their leaders as we would, these non democratic states have effectively countered the position around economic sanctions by not being democracies.