Installation
Manual download & installation from website
Move the bin file to /usr/local/bin
to enable terraform
commands.
Homebrew
The easiest method you could possibly achieve...
$ brew install terraform
$ terraform --version
Terraform v1.3.3
on darwin_arm64
Handling different versions at the same time
# ~/.zshrc or ~/.bashrc
alias tf12="/usr/local/bin/terraform"
alias tf11="/usr/local/bin/terraform11"
Warnings
Terraform uses
AWS_ACCESS_KEY_ID
andAWS_SECRET_ACCESS_KEY
from your AWS CLI settings, which include the permission of the user.
Credits
All the credits go to:
Last updated
Was this helpful?