File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,10 @@ import (
14
14
"github.com/coder/coder/provisionersdk"
15
15
)
16
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
+
17
21
var (
18
22
// The minimum version of Terraform supported by the provisioner.
19
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 )),
49
53
}
50
54
51
55
execPath , err := installer .Install (ctx )
You can’t perform that action at this time.
0 commit comments