From 8c8219b5fa63deacd32d56b9d17b368fa4037bfb Mon Sep 17 00:00:00 2001 From: patdyn Date: Thu, 27 Jun 2024 15:40:05 +0200 Subject: [PATCH] Sleep 3 secs --- src/main/python/ddadevops/infrastructure/infrastructure.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/python/ddadevops/infrastructure/infrastructure.py b/src/main/python/ddadevops/infrastructure/infrastructure.py index 2731971..6e8e1df 100644 --- a/src/main/python/ddadevops/infrastructure/infrastructure.py +++ b/src/main/python/ddadevops/infrastructure/infrastructure.py @@ -226,6 +226,8 @@ class TerraformBackendGitApi: for key in credentials: env = env + f'{key}' + "=" + f'{credentials[key]}' + " " self.execution_api.execute(f'{env}' + " " + "terraform-backend-git &") + self.execution_api.execute('sleep 3') + def stop(self): self.execution_api.execute("terraform-backend-git stop")