Aaron David Miller is a Senior Fellow at the Carnegie Endowment for International Peace and author of " The End of Greatness: Why America Can't Have (and Doesn't Want) Another Great President ." Miller was a State Department Middle East negotiator in Democratic and Republican administrations. The opinions expressed in this commentary are those of the author; view more opinion articles on CNN.

(CNN) President Richard Nixon loved foreign policy, had Henry Kissinger as Secretary of State and also a determination to show the world that Watergate wouldn't undermine American power. President Bill Clinton compartmentalized impeachment proceedings and, in the weeks leading up to his February 1999 acquittal, sought refuge in dealing with foreign leaders, meeting with officials from from Jordan, Germany, Argentina, Albania, Venezuela, New Zealand and France. Against the backdrop of domestic scandal both managed to keep their foreign policy focused and on track.

So how will impeachment affect Donald Trump's foreign policy? With an already distracted, now impeached and angry, President, we can't rule out some reckless and unpredictable adventure abroad, especially in response to American adversaries like North Korea and Iran eager to test Trump's resolve. But it's more likely the election year will have a greater affect than impeachment.

Conventional wisdom suggests that the biggest risk to any scandal ridden President's foreign policy would be distraction and an inability to focus. But there's already such a high level of chaos and dysfunction in the administration -- Trump is on his fourth National Security Adviser and his second Secretary of State in three years -- that one wonders how you'd even measure impeachment's negative impact. Not to mention the possibility -- despite his denials -- that Secretary of State Mike Pompeo might well depart early to run for Senate in Kansas.

Moreover, for the distraction and dislocation of impeachment to undermine foreign policy, the Administration would first need to have a coherent set of policies that they were actually working on and that held promise of some success.

But right now, all of Trump's policies are highly questionable works in progress: a seemingly never-ending dance with North Korea that's brought Kim Jung Un to the verge of resuming long range missile testing ; a maximum pressure campaign against Iran that appears to have no coherent objective; a Syria policy that has gone back and forth on withdrawal of US forces and confused allies and adversaries alike; and a Middle East peace plan that is likely so weighted in favor of the Israelis and against Palestinians that it's not ready for prime time.

Indeed, minus an overhyped trade deal with China and a revised NAFTA that was finally ratified by the House, the Administration's Christmas stocking of foreign policy successes is pretty much empty.

Far more consequential for Trump's foreign policy is that impeachment is occurring in an election year -- a coincidence that makes Trump's circumstances unique and likely will set the stage for what Trump will try to do abroad. Trump's foreign policy is already tethered tightly to serving his domestic political needs like no other President. From withdrawing from the Paris Climate accords and the Iran nuclear deal to recognizing Jerusalem as Israel's capital and opening an embassy there, Trump has satisfied political constituencies at the expense of the national interest.

As the election approaches, Trump will want to appear busy looking for high profile vanity summits to attend and seeking to avoid risky military conflicts abroad that might alienate his base and provide his opponents with campaign ammunition. The fear that Trump will try to stage some " Wag the Dog " like crisis abroad to distract attention or rally the country is overblown, precisely because it is an election year and a reckless move that led to military conflict with Iran or North Korea might be fatal at the polls.

Of course, Trump is unpredictable, and it's possible that he could get "fire and fury" mad in the wake of impeachment overreacting to, say, North Korea's missile provocations. But it's just as likely he'd try to set up another vanity summit with Kim to show that his negotiating gambit with North Korea is still in play.

Or as unlikely as it now appears, Trump could try the same with Iran, taking advantage of any number of negotiating initiatives, especially from France , to extend billions in a line of credit for the high level meeting Trump has long wanted to have with Iranian President Rouhani.

Perhaps the greatest risk and danger to US foreign policy in the coming year is that US adversaries, aware of Trump's desperation, will test him. They might assume that Trump's reelection worries will prevent him from responding forcefully to their provocation, or that he can be lured into a negotiation, and needing a win, will make concessions.

Get our free weekly newsletter Sign up for CNN Opinion's new newsletter. Join us on Twitter and Facebook

Kim Jung Un is likely to test him by ramping up missile testing by year's end or perhaps in the middle of a Senate trial in January. And there's a pretty good chance that Iran -- having watched his unwillingness to strike Iranian targets for their attacks on Saudi oil facilities last September -- might do the same by violating some aspect of their commitments under the Iran nuclear deal, which they remain in, or making some aggressive move in the Persian Gulf.

This is where the intersection of election politics, Trump's own mercurial temperament, a polarized Congress, and the absence of wise counsel around him could create a deadly mix, pushing the United States into a military conflict neither Trump nor the country wants or needs.