This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This script updates Terraform to the latest version available from HashiCorp. | |
# It checks the current version, downloads the latest version if necessary, | |
# and replaces the existing binary. It also backs up the current version. | |
# Ensure you have the required permissions to run this script and modify the installation directory. | |
# Created by: John Wildes with the helpf of GitHub Copilot | |
# Date: 2025-04-03 | |
# Description: Update Terraform to the latest version | |
# Add a parameter for the installation directory |