Skip to content

Commit ee278e0

Browse files
committed
Fix subprocesses cwd
1 parent 993ff6e commit ee278e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bootstrap/runner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ def init_gitlab(
191191
TF_VAR_service_slug=service_slug,
192192
)
193193
state_path = Path(terraform_dir) / "state.tfstate"
194-
cwd = Path("terraform")
194+
cwd = Path(__file__).parent.parent / "terraform"
195195
logs_dir = Path(logs_dir) / service_slug / "terraform"
196196
os.makedirs(logs_dir)
197197
init_log_path = logs_dir / "init.log"

0 commit comments

Comments
 (0)