Skip to content

That's just a taste — their profile full of gems!

Visit profile
User avatar
Lily Hansen
March 110

Mastering Terraform Version Management: Upgrade or Downgrade with Ease

In this guide, we’ll explore how to upgrade or downgrade your Terraform version. Understanding the reasons behind these changes is crucial, as specific projects may require specific Terraform versions. To determine your current version, simply open the command prompt and type “terraform –version.”

If you need to upgrade Terraform, head over to the official download page. By default, the latest version will be selected. However, if you prefer an older version, right-click on the desired version (e.g., 0.12.26) and copy the link address.

Installing the new version involves copying the “terraform” file from the downloaded folder and pasting it into your root directory under “users/[your username].” If a previous version of Terraform exists, replace it by clicking “Replace the file in the destination.” Voilà, your Terraform version has been updated. To confirm, re-run the “terraform –version” command, and you’ll see the new version displayed.

#cloudcomputing#devops#softwaredevelopment#itinfrastructure#cloudengineering#terraform#infrastructureascode#infrastructureautomation#infrastructuremanagement#versionmanagement#upgradeterraform#downgradeterraform
Like
Dislike

Add a comment...