현재 AWS CLI는 version 1, 2 가 있는데, 2에 훨씬 더 많은 기능이 있기 때문에 버전 2로 설치하는 것을 권장드립니다.
$ which aws
/usr/local/bin/aws
$ aws --version
aws-cli/2.0.34 ...
# Linux x86 (64-bit)
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
unzip awscliv2.zip
sudo ./aws/install
# Linux ARM
curl "https://awscli.amazonaws.com/awscli-exe-linux-aarch64.zip" -o "awscliv2.zip"
unzip awscliv2.zip
sudo ./aws/install
C:\> aws --version
aws-cli/2.0.23 Python/3.7.4 Windows/10 botocore/2.0.0
/usr/local/bin
으로 옮기면 terraform 명령어를 사용하실 수 있습니다.$ curl -sO https://releases.hashicorp.com/terraform/0.12.24/terraform_0.12.24_darwin_amd64.zip
$ unzip terraform_0.12.24_darwin_amd64.zip
$ mv terraform /usr/local/bin
$ terraform --version
Terraform v0.12.24
$ brew install terraform
$ terraform --version
Terraform v0.12.24
# ~/.zshrc or ~/.bashrc
alias tf12="/usr/local/bin/terraform"
alias tf11="/usr/local/bin/terraform11”