Friday, October 30, 2020

Install Terraform on MacBook

 $ asdf plugin-add terraform https://github.com/Banno/asdf-hashicorp.git


List versions of terraform

asdf list-all terraform


You can install the different version now, or when it is needed.


$ asdf install terraform 0.13.4

$ asdf install terraform 0.12.29


$ asdf global terraform 0.13.4

$ cat .tool-versions

kubectl 1.16.10

helm 3.1.1

terraform 0.13.4

$ terraform --version

Terraform v0.13.4

To integrate terraform with python, please install terraform_external_data

pip3 install terraform_external_data

No comments:

Post a Comment