Today I experienced the following error on my Intel MacBook Pro when attempting to run Terraform

MacOS Terraform will damage your computer

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
sudo mv terraform /usr/local/bin
terraform version