User Tools

Site Tools


terraform_install

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

terraform_install [2025/07/26 17:09] – - Imported by DokuWiki Advanced Plugin wikiadmterraform_install [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1
Line 1: Line 1:
-====== Instalação do Terraform no Linux ====== 
-**Sistemas baseados em Debian** 
-<file bash> 
-sudo apt update 
-sudo apt install wget curl unzip 
-</file> 
  
-**Sistemas baseados em RedHat** 
-<file bash> 
-# sudo yum install curl wget unzip 
-</file> 
- 
-<file bash> 
-TER_VER=`curl -s https://api.github.com/repos/hashicorp/terraform/releases/latest | grep tag_name | cut -d: -f2 | tr -d \"\,\v | awk '{$1=$1};1'` 
-</file> 
- 
-<file bash> 
-wget https://releases.hashicorp.com/terraform/${TER_VER}/terraform_${TER_VER}_linux_amd64.zip 
-</file> 
- 
-<file bash> 
-$ unzip terraform_${TER_VER}_linux_amd64.zip 
-</file> 
- 
-<file> 
-$ sudo mv terraform /usr/local/bin/ 
-</file> 
- 
-<file> 
-$ which terraform 
-</file> 
- 
-<file bash> 
-$ terraform --version 
-</file> 
- 
-<file bash> 
-$ terraform -install-autocomplete 
-</file> 
terraform_install.1753560544.txt.gz · Last modified: by wikiadm