GoogleCloudPlatform / pbmm-on-gcp-onboarding

GCP Canadian Public Sector Landing Zone overlay on top of the TEF via CFT modules - a secure cloud foundation
https://cloud.google.com/architecture/security-foundations
Apache License 2.0
39 stars 55 forks source link

Terraform 1.7.4 downgrade to 1.3 in order to avoid state file issues between 0 and 2 steps - hold for now #374

Open obriensystems opened 2 months ago

obriensystems commented 2 months ago

Terraform downgrade procedure

michael@cloudshell:~/tef-olxyz/github (tef-olxyz)$ which terraform
/usr/bin/terraform
michael@cloudshell:~/tef-olxyz/github (tef-olxyz)$ sudo cp terraform /usr/bin/terraform

michael@cloudshell:~/tef-olxyz/github (tef-olxyz)$ sudo chmod 777 terraform /usr/bin/terraform
michael@cloudshell:~/tef-olxyz/github (tef-olxyz)$ rm -rf terraform 
michael@cloudshell:~/tef-olxyz/github (tef-olxyz)$ terraform --version
Terraform v1.3.10
on linux_amd64

Your version of Terraform is out of date! The latest version
is 1.8.0. You can update by downloading from https://www.terraform.io/downloads.html
fmichaelobrien commented 2 months ago

https://releases.hashicorp.com/terraform/1.3.10

fmichaelobrien commented 1 month ago

reference - https://github.com/terraform-google-modules/terraform-example-foundation/issues/1151 reference - https://github.com/hashicorp/terraform/issues/34014 reference - https://github.com/terraform-google-modules/terraform-example-foundation/pull/1253