From 43723105cc8988e23df093e59e00fced8708f569 Mon Sep 17 00:00:00 2001 From: Lucas Marques Date: Mon, 18 Mar 2024 14:48:50 +0100 Subject: [PATCH] fix(runner): install terraform in binaries directory instead of tmp (#256) --- internal/runner/terraform/terraform.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/internal/runner/terraform/terraform.go b/internal/runner/terraform/terraform.go index 0ae322ec..a769e804 100644 --- a/internal/runner/terraform/terraform.go +++ b/internal/runner/terraform/terraform.go @@ -47,8 +47,9 @@ func (t *Terraform) Install() error { }, } releases := releases.ExactVersion{ - Product: product.Terraform, - Version: version, + Product: product.Terraform, + Version: version, + InstallDir: t.runnerBinaryPath, } execPath, err := i.Ensure(context.Background(), []src.Source{ &fs,