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 (
1414 "github.com/coder/coder/provisionersdk"
1515)
1616
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+
1721var (
1822 // The minimum version of Terraform supported by the provisioner.
1923 // 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 {
4549 installer := & releases.ExactVersion {
4650 InstallDir : options .CachePath ,
4751 Product : product .Terraform ,
48- Version : version .Must (version .NewVersion ("1.1.7" )),
52+ Version : version .Must (version .NewVersion (terraformVersion )),
4953 }
5054
5155 execPath , err := installer .Install (ctx )
You can’t perform that action at this time.
0 commit comments