Why, when I run terraform -v
do I get:
Terraform v0.9.6
Your version of Terraform is out of date! The latest version
is 0.9.7. You can update by downloading from www.terraform.io
i.e. implying the latest version is 0.9.7
BUT, at the time of this post (and when I ran the terraform -v
command) https://www.terraform.io/ says 0.9.8
as does brew
via http://brewformulas.org/Terraform
答案 0 :(得分:-1)
从下载页面安装所需的二进制包(取决于您的操作系统)。 https://github.com/hashicorp/terraform/releases
根据您的操作系统将.zip文件解压缩到bin目录
对于mac
unzip terraform_0.9.11_darwin_amd64.zip -d / usr / local / bin
现在检查terraform版本:
terraform版本
Terraform v0.9.1