We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parentf8410de commit13982f5Copy full SHA for 13982f5
provisioner/terraform/serve.go
@@ -14,6 +14,10 @@ import (
14
"github.com/coder/coder/provisionersdk"
15
)
16
17
+// This is the exact version of Terraform used internally
18
+// when Terraform is missing on the system
19
+constterraformVersion="1.1.9"
20
+
21
var (
22
// The minimum version of Terraform supported by the provisioner.
23
// Validation came out in 0.13.0, which was released August 10th, 2020.
@@ -45,7 +49,7 @@ func Serve(ctx context.Context, options *ServeOptions) error {
45
49
installer:=&releases.ExactVersion{
46
50
InstallDir:options.CachePath,
47
51
Product:product.Terraform,
48
-Version:version.Must(version.NewVersion("1.1.7")),
52
+Version:version.Must(version.NewVersion(terraformVersion)),
53
}
54
55
execPath,err:=installer.Install(ctx)