Ubuntu 22.04 安装 Terraform

Ubuntu 22.04 安装 Terraform

  • 安装 Terraform

安装 Terraform

sudo apt update
sudo apt install software-properties-common gnupg2 curl
curl https://apt.releases.hashicorp.com/gpg | gpg --dearmor > hashicorp.gpg
sudo install -o root -g root -m 644 hashicorp.gpg /etc/apt/trusted.gpg.d/
sudo apt-add-repository "deb [arch=$(dpkg --print-architecture)] https://apt.releases.hashicorp.com $(lsb_release -cs) main"
sudo apt install terraform
terraform — version

完结!

你可能感兴趣的:(LINUX,ubuntu,terraform)