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

 

 

 

 

 

 

 

 

 

 

 

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