terraform及terragrunt的安装

其实terraform和terragrunt都是单个文件,直接放在/usr/local/ bin下作为全局命令即可。


terraform:

安装指定版本:

linux:

sudo yum install wegt unzip

wget https://releases.hashicorp.com/terraform/0.11.14/terraform_0.11.14_linux_amd64.zip

unzip terraform_0.11.14_linux_amd64.zip 

cp terraform /usr/local/bin

 macos

brew search terraform

brew install [email protected]


terragrunt:

安装指定版本:

linux:

 

macos:

去github上找到terragrunt,

然后下载terragrunt_darwin_amd64

下载之后不用安装,我是放在/usr/local/Cellar/[email protected]/0.11.14/bin/terragrunt_darwin_amd64目录里了。

然后在/usr/local/bin 下使用ln -s terragrunt /usr/local/Cellar/[email protected]/0.11.14/bin/terragrunt_darwin_amd64

 

 

 

 

 

 

 

 

 

 

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章