Skip to content

Commit

Permalink
Merge pull request GoogleCloudPlatform#304 from GoogleCloudPlatform/o…
Browse files Browse the repository at this point in the history
…briensystems-gh300-tf-downgrade

GoogleCloudPlatform#300 - Update README.md with terraform 1.0.10 downgrade
  • Loading branch information
fmichaelobrien committed Sep 11, 2023
2 parents 47da3f4 + d503170 commit ddf5b3c
Showing 1 changed file with 29 additions and 3 deletions.
32 changes: 29 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,37 @@ sudo apt-get install jq -q -y

Move Terraform to a PATH usable location, usually like this:
```
VER=1.0.11
curl https://releases.hashicorp.com/terraform/$VER/terraform_$VER_linux_amd64.zip --output terraform_$VER_linux_amd64.zip
unzip terraform_$VER_llinux_amd64.zip
# until advised otherwise - keep the version at 1.0.10 just for bootstrap
VER=1.0.10
wget https://releases.hashicorp.com/terraform/${VER}/terraform_${VER}_linux_amd64.zip
unzip terraform_${VER}_linux_amd64.zip
# keep the older 1.5.x version
cp /usr/bin/terraform terraform_original
# check versions
michael@cloudshell:~/lz-oe$ ./terraform --version
Terraform v1.0.10
on linux_amd64
Your version of Terraform is out of date! The latest version
is 1.5.7. You can update by downloading from https://www.terraform.io/downloads.html
michael@cloudshell:~/lz-oe$ terraform --version
Terraform v1.5.5
on linux_amd64
Your version of Terraform is out of date! The latest version
is 1.5.7. You can update by downloading from https://www.terraform.io/downloads.html
# downgrade terraform
sudo cp ./terraform /usr/bin
sudo chmod +x /usr/bin/terraform
# check downdraded version
michael@cloudshell:~/lz-oe$ terraform --version
Terraform v1.0.10
on linux_amd64
Your version of Terraform is out of date! The latest version
is 1.5.7. You can update by downloading from https://www.terraform.io/downloads.html
```
#
### Cloud Environment
Expand Down

0 comments on commit ddf5b3c

Please sign in to comment.