Update command for live exec
This commit is contained in:
parent
eb18eb03bc
commit
d6a1f2b655
1 changed files with 1 additions and 3 deletions
|
@ -225,9 +225,7 @@ class TerraformBackendGitApi:
|
|||
env = ""
|
||||
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')
|
||||
|
||||
self.execution_api.execute_live(f"{env} nohup terraform-backend-git &")
|
||||
|
||||
def stop(self):
|
||||
self.execution_api.execute("terraform-backend-git stop")
|
||||
|
|
Loading…
Reference in a new issue