> plenty of analysis warning of the risks that have now become reality
You can also easily find analysis warning of the opposite: the risks of not invading Iran. See Nazi Germany and WW2 for an example what happens when you fail to contain a belligerently rogue country.
Iran was "contained" under Obama's deal with them....that Trump tore up....and when he was in the middle of negotiating a new one he attacked Iran who were in good faith negotiations.