パッケージマネージャ
$sudo dnf config-manager --add-repo https://rpm.releases.hashicorp.com/RHEL/hashicorp.repo
$sudo dnf install terraform -y
$terraform -y
Terraform v1.9.1
on linux_amd64
バイナリ
$sudo wget https://releases.hashicorp.com/terraform/1.9.1/terraform_1.9.1_linux_amd64.zip
$sudo unzip terraform_1.9.1_linux_amd64.zip
$sudo mv terraform /usr/bin
Terraform v1.9.1
on linux_amd64