Skip to content

Commit

Permalink
Lookup terraform binary in system path before attempting to install it
Browse files Browse the repository at this point in the history
  • Loading branch information
syndicut committed Aug 11, 2021
1 parent 94a8c8b commit c4d93bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/provider/generate.go
Expand Up @@ -494,7 +494,7 @@ provider %[1]q {
return nil, err
}

tfBin, err := tfinstall.Find(ctx, tfinstall.ExactVersion("0.13.2", tmpDir))
tfBin, err := tfinstall.Find(ctx, tfinstall.LookPath(), tfinstall.ExactVersion("0.13.2", tmpDir))
if err != nil {
return nil, err
}
Expand Down

0 comments on commit c4d93bb

Please sign in to comment.