An Israeli attack might spark a long war, but would result in lots of American GIs dead. So what would be the goal? An attack would almost guarantee that Iran would opt FOR getting nukes, just to prevent and deter another attack.
Key U.S. House Democrat cites troublesome issues in Iran nuclear deal (Reuters)
from the article: Israel attack wouldn't stop Iran nuclear program, says U.K. study