8000 feat: Upgrade terraform version to 1.1.9 by AbhineetJain · Pull Request #1745 · coder/coder · GitHub
[go: up one dir, main page]

Skip to content

feat: Upgrade terraform version to 1.1.9 #1745

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 25, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
upgrade terraform version to 1.1.9
  • Loading branch information
AbhineetJain committed May 25, 2022
commit f2f3108bd95ec72c42ede00475110e9b9b59ca07
6 changes: 5 additions & 1 deletion provisioner/terraform/serve.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ import (
"github.com/coder/coder/provisionersdk"
)

// This is the exact version of Terraform used internally
// when Terraform is missing on the system
const terraformVersion = "1.1.9"

var (
// The minimum version of Terraform supported by the provisioner.
// Validation came out in 0.13.0, which was released August 10th, 2020.
Expand Down Expand Up @@ -45,7 +49,7 @@ func Serve(ctx context.Context, options *ServeOptions) error {
installer := &releases.ExactVersion{
InstallDir: options.CachePath,
Product: product.Terraform,
Version: version.Must(version.NewVersion("1.1.7")),
Version: version.Must(version.NewVersion(terraformVersion)),
}

execPath, err := installer.Install(ctx)
Expand Down
0