From a2cf90ce21d014de076344f21b7dd630eed37285 Mon Sep 17 00:00:00 2001 From: Alexey-Ayupov <116575425+Alexey-Ayupov@users.noreply.github.com> Date: Wed, 11 Oct 2023 13:01:19 +0200 Subject: [PATCH] Revert "[Ubuntu] Pin Terraform 1.5.7 (#8504)" (#8522) This reverts commit 4d6ce38166b6942984d53fc83a0a71593c2d82ee. --- images/linux/scripts/installers/terraform.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/images/linux/scripts/installers/terraform.sh b/images/linux/scripts/installers/terraform.sh index 9e424a3e9..0e8f55537 100644 --- a/images/linux/scripts/installers/terraform.sh +++ b/images/linux/scripts/installers/terraform.sh @@ -7,12 +7,10 @@ source $HELPER_SCRIPTS/install.sh # Install Terraform -# Pin Terraform until v1.6.1 is released -# Ref: https://github.com/hashicorp/terraform/issues/33977 -URL=$(curl -fsSL https://api.releases.hashicorp.com/v1/releases/terraform/1.5.7 | jq -r '.builds[] | select((.arch=="amd64") and (.os=="linux")).url') +URL=$(curl -fsSL https://api.releases.hashicorp.com/v1/releases/terraform/latest | jq -r '.builds[] | select((.arch=="amd64") and (.os=="linux")).url') ZIP_NAME="terraform_linux_amd64.zip" download_with_retries "${URL}" "/tmp" "${ZIP_NAME}" unzip -qq "/tmp/${ZIP_NAME}" -d /usr/local/bin rm -f "/tmp/${ZIP_NAME}" -invoke_tests "Tools" "Terraform" +invoke_tests "Tools" "Terraform" \ No newline at end of file