From 9a1ad238e432b2ea5baf280c26a0645f737e3d2a Mon Sep 17 00:00:00 2001 From: Jon Edvald Date: Tue, 23 Feb 2021 21:46:32 +0100 Subject: [PATCH] feat(terraform): add v0.14.7 as a supported version --- core/src/plugins/terraform/cli.ts | 39 ++++++++++++++++++++++++++++++- 1 file changed, 38 insertions(+), 1 deletion(-) diff --git a/core/src/plugins/terraform/cli.ts b/core/src/plugins/terraform/cli.ts index b73d5496b7..b89e6c1c0a 100644 --- a/core/src/plugins/terraform/cli.ts +++ b/core/src/plugins/terraform/cli.ts @@ -123,9 +123,46 @@ export const terraformCliSpecs: { [version: string]: PluginToolSpec } = { }, ], }, + "0.14.7": { + name: "terraform-0-14-7", + description: "The terraform CLI, v0.14.7", + type: "binary", + builds: [ + { + platform: "darwin", + architecture: "amd64", + url: "https://releases.hashicorp.com/terraform/0.14.7/terraform_0.14.7_darwin_amd64.zip", + sha256: "8a5ec04afcc9c2653bb927844eb76ad51e12bcaec0638103512d7b160dd530ea", + extract: { + format: "zip", + targetPath: "terraform", + }, + }, + { + platform: "linux", + architecture: "amd64", + url: "https://releases.hashicorp.com/terraform/0.14.7/terraform_0.14.7_linux_amd64.zip", + sha256: "6b66e1faf0ad4ece28c42a1877e95bbb1355396231d161d78b8ca8a99accc2d7", + extract: { + format: "zip", + targetPath: "terraform", + }, + }, + { + platform: "windows", + architecture: "amd64", + url: "https://releases.hashicorp.com/terraform/0.14.7/terraform_0.14.7_windows_amd64.zip", + sha256: "1cc49c7522d3a6a583ad627aea2d2b4fb182312f4f97d70d445e2345e4a4f4d4", + extract: { + format: "zip", + targetPath: "terraform.exe", + }, + }, + ], + }, } export const supportedVersions = Object.keys(terraformCliSpecs) // Default to latest Terraform version -export const defaultTerraformVersion = supportedVersions[supportedVersions.length - 1] +export const defaultTerraformVersion = "0.13.3"