The plan for this war was prepared long time ago.
The worst case scenario:
The West hopes to change regime in Iran, demilitarize and dismantle it.
Their plan:
1) Israel starts the war and decapitates Iranian leadership by killing top generals and key officials.
2) Israel absorbs most of Iranian ballistic missiles and after Iranian missile arsenal is exhausted US+UK+Germany+France+Italy enter the war.
3) Western coalition destroys Iranian civilian infrastructure, industry, government buildings with a huge bombing campaign that paralyzes Iran.
4) Western coaltion will then degrade Iranian military with a huge bombing campaign.
5) After Iranian leadership decapitated, infrastructure destroyed, governance dysfunctional, ballistic missile arsenal exhausted and military degraded,
US will try to dismantle Iran. There can be a ground invasion from Azerbaijan and Iraqi-Kurdistan supported by US airpower.
Azerbaijan can invade from the north with 75.000 troops with support of American airpower and try to occupy Iranian Azerbaijan. To counter them in condition of full American air superiority Iran must deploy 150.000 troops to Iranian Azerbaijan.
Kurdish Peshmerga can invade Iranian Kurdistan with 160.000 troops with support of American airpower. To counter them Iran will tell Iraqi Shia militias to attack Iraqi Kurdistan and Iran needs 200.000 troops to contain Peshmerga assaults in condition of full American air superiority.
Also, yesterday Trump had a dinner with Pakistani Chief of the Army Staff Asir Munir - Americans may try to persuade Pakistan to occupy Baluchistan province of Iran when Iranian military is degraded by US airstrikes. But China may say to Pakistan not to do it.
If Azerbaijan successfully invades Northern Iran with support of US airpower, Iran will no longer be a Caucasian power and this will turn Turkey into a hegemon of the Caucasus and then this can threaten Russia's territorial integrity because Turks will then be able to influence Russian Muslim Caucasus - Chechnya, Dagestan, Ingushetia. So Russia and Armenia might respond and Russia might conduct airstrikes against Azerbaijan and deter Turkey with nuclear weapons.
Iranian response:
1) Iran will totally destroy Persian Gulf oil infrastructure and mine the Strait of Hormuz indefenitely. This will impose multitrillion dollar cost on the West and economic recovery will take 5-7 years.
2) Iran will activate Hezbollah to its fullest and Israel and Lebanon will be destroyed in a new Israel-Hezbollah war.
3) Houthis will strike all ships in the Strait of Bab-el-Mandeb.
4) Iran will mobilize 2mln troops and hold defense in Iranian Azerbaijan and Kurdistan region - 150.000 Iranian troops will contain 75.000 Azeri troops supported by US airpower, 200.000 Iranian troops will contain 100.000 Peshmerga troops supported by US airpower, 600.000 Iranian troops will contain 300.000 Turkey's troops in case if Turkey will decide to join the war. In total Iran needs 1mln troops to defend itself.
5) IR-6 centrifuges are already evacuated from Fordow as it takes 3 days to dismantle and evacuate 1600 IR-6 centrifuges. Also Iran currently has 408kg of HEU enriched to 60% which is also evacuated from Natanz and Fordow. Iran will install those IR-6 centrifuges in multiple underground secret sites and enrich uranium to 90% and eventually test a bomb.
Iran should start moving troops and mobilizing immediately.