Terraform will damage your Computer
Today I experienced the following error on my Intel MacBook Pro when attempting to run Terraform…
The equivalent English error message is “Terraform will damage your computer. You should move it to the Trash.”. Hashicorp have cycled their keys used to sign their packages/executables. You can read more about that at the link below. I resolved it by simply removing the old terraform binary and replacing it with a newer version…
which terraform
sudo rm /usr/local/bin/terraform
wget https://releases.hashicorp.com/terraform/1.4.6/terraform_1.4.6_darwin_amd64.zip
unzip terraform_1.4.6_darwin_amd64.zip
sudo mv terraform /usr/local/bin
terraform version