This is probably wrong. Almost every meaningful restriction of the Iran deal would have "sunset" by now, so the war would probably have happened anyway.
Yes, kids, under the terms of the deal, limits on ballistic missile development, limits on numbers of centrifuges, on advanced centrifuge R&D, on nuclear-related imports and lots, lots more, including UN oversight itself that ensured that what remained would be adhered too -- would all have been lifted by now.
The deal wasn't stopping anything. It was arming Iran to the teeth conventionally and kicking the nuclear can down the road.
Iran Deal put a lid on the nuclear program. It's loudest opponents in Israel and US needed to kill it bc they needed Iran to have an active program to justify war.