http://milwaukeestory.com/index.php/2011/12/19/pentagon-says-iran-concerned-primarily-with-deterring-an-attack-344/This unclassified assessment of Iran's military capability by the US Department of Defense clearly states that "To ensure regime survival, Iran's security strategy is based first on deterring an attack."
The document goes on to make this key statement, "Iran's nuclear program and its willingness to keep open the possibility of developing nuclear weapons is a central part of its deterrent strategy."
But what if the unpredictable Ahmadinejad and company in Tehran suddenly changed their strategy and decided to go on the offensive? Fortunately they would not have the capability according to the DoD which states, "At present Iran's forces are sufficent to deter or defend against conventional threats from Iran's weaker neighbors such as post-war Iraq, the GCC, Azerbaijan or Afghanistan but lack the air power and logistical ability to power much beyond Iran's boarders or to confront regional powers such as Turkey or Israel."