We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 774fc2a commit 948c126Copy full SHA for 948c126
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
+const terraformVersion = "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)
0 commit comments