diff --git a/tpi/terraform.py b/tpi/terraform.py index b8920f4..994a399 100644 --- a/tpi/terraform.py +++ b/tpi/terraform.py @@ -101,11 +101,11 @@ def _shell(self, *args, **kwargs): """ from shutil import which - from asyncssh import Error as AsyncSshError - if which("ssh"): return self._shell_default(*args, **kwargs) + from asyncssh import Error as AsyncSshError + loop = asyncio.new_event_loop() try: asyncio.set_event_loop(loop)