Skip to content

Commit

Permalink
Upgrade Terraform and Packer (#634)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexmassen-hane authored Aug 18, 2023
1 parent 7672f13 commit e497282
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions docs/tutorials/deploy_terraform.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ If you wish to manually install the dependencies yourself, see the details below
### Linux
Install Packer:
```bash
sudo curl -L "https://releases.hashicorp.com/packer/1.6.0/packer_1.6.0_linux_amd64.zip" -o /usr/local/bin/packer
sudo curl -L "https://releases.hashicorp.com/packer/1.9.2/packer_1.9.2_linux_amd64.zip" -o /usr/local/bin/packer
# When asked to replace, answer 'y'
unzip /usr/local/bin/packer -d /usr/local/bin/
sudo chmod +x /usr/local/bin/packer
Expand All @@ -34,7 +34,7 @@ sudo chmod +x /usr/local/bin/google-cloud-sdk

Install Terraform:
```bash
sudo curl -L "https://releases.hashicorp.com/terraform/1.0.5/terraform_1.0.5_linux_amd64.zip" -o /usr/local/bin/terraform
sudo curl -L "https://releases.hashicorp.com/terraform/1.5.5/terraform_1.5.5_linux_amd64.zip" -o /usr/local/bin/terraform
# When asked to replace, answer 'y'
sudo unzip /usr/local/bin/terraform -d /usr/local/bin/
sudo chmod +x /usr/local/bin/terraform
Expand All @@ -43,7 +43,7 @@ sudo chmod +x /usr/local/bin/terraform
### Mac
Install Packer:
```bash
sudo curl -L "https://releases.hashicorp.com/packer/1.6.0/packer_1.6.0_darwin_amd64.zip" -o /usr/local/bin/packer
sudo curl -L "https://releases.hashicorp.com/packer/1.9.2/packer_1.9.2_darwin_amd64.zip" -o /usr/local/bin/packer
# When asked to replace, answer 'y'
unzip /usr/local/bin/packer -d /usr/local/bin/
sudo chmod +x /usr/local/bin/packer
Expand All @@ -61,7 +61,7 @@ sudo chmod +x /usr/local/bin/google-cloud-sdk

Install Terraform:
```bash
sudo curl -L "https://releases.hashicorp.com/terraform/1.0.5/terraform_1.0.5_darwin_amd64.zip" -o /usr/local/bin/terraform
sudo curl -L "https://releases.hashicorp.com/terraform/1.5.5/terraform_1.5.5_darwin_amd64.zip" -o /usr/local/bin/terraform
# When asked to replace, answer 'y'
unzip /usr/local/bin/terraform -d /usr/local/bin/
sudo chmod +x /usr/local/bin/terraform
Expand Down
4 changes: 2 additions & 2 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -207,8 +207,8 @@ function install_google_cloud_sdk() {
function install_terraform_deps() {
## Package versions to install

terraform_version="1.0.5"
packer_version="1.6.0"
terraform_version="1.5.5"
packer_version="1.9.2"
google_cloud_sdk_version="330.0.0"

terraform_arch=$arch
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ terraform {
version = "~> 2.2.0"
}
}
required_version = "~> 1.0.5"
required_version = "~> 1.5.5"
}

0 comments on commit e497282

Please sign in to comment.