I see four key elements. First, Iran is not fiddling around with nuclear triggers and high-precision detonators because it wants to generate electricity. It seeks a military-nuclear capability common to its region.
Iran, more unpredictable than the Soviet Union, can be stopped short of a bomb through measures short of military action. What is needed is a contain-and-constrain policy. Contain Iran through beefed-up Israeli and Gulf defenses, a process underway. Constrain it to circle in its current nuclear ambiguity through covert undermining (Stuxnet 2.0, etc.), tough measures to block its access to hard currency, and, as a last resort, a “quarantine” similar to John Kennedy’s interdiction of shipping to Cuba during the missile crisis.