diff --git a/internal/provider/generate.go b/internal/provider/generate.go index 2e7235fa..2d3ea910 100644 --- a/internal/provider/generate.go +++ b/internal/provider/generate.go @@ -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 }