feat(eotk): switch to new autonomous eotk instances

This commit is contained in:
Iain Learmonth 2022-12-07 18:13:01 +00:00
parent e28fcc6061
commit c584aa0e90
8 changed files with 117 additions and 30 deletions

View file

@ -150,9 +150,9 @@ class TerraformAutomation(BaseAutomation):
"""
def tf_show(self) -> Any:
# This subprocess call doesn't take any user input.
if not self.working_dir:
raise RuntimeError("No working directory specified.")
# This subprocess call doesn't take any user input.
terraform = subprocess.run( # nosec
['terraform', 'show', '-json'],
cwd=self.working_dir,