Install Terraform
1. 의존성 패키지 목록 업데이트 && 필요한 기본적인 소프트웨어 의존성 설치
sudo apt-get update && sudo apt-get install -y gnupg software-properties-common curl
2. hashicorp가 운영하는 우분투 패키지 저장소를 신뢰하기 위한 GPG키 설정
curl -fsSL https://apt.releases.hashicorp.com/gpg | sudo apt-key add -
3. hashicorp의 우분투 패키지 저장소 추가
sudo apt-add-repository "deb [arch=amd64] https://apt.releases.hashicorp.com $(lsb_release -cs) main"
4. 패지지 목록 갱신 && 테라폼 설치
sudo apt-get update && sudo apt-get install terraform
이외에 terraform tabl으로 자동완성 활성화를 위한
Enable tab completion
그리고 bashrc와 같은 설정들도 확인 가능하다.
https://www.terraform.io/cli/config/config-file
참고:
https://learn.hashicorp.com/tutorials/terraform/install-cli?in=terraform/aws-get-started
Install Terraform | Terraform - HashiCorp Learn
Install Terraform on Mac, Linux, or Windows by downloading the binary or using a package manager (Homebrew or Chocolatey). Then create a Docker container locally by following a quick-start tutorial to check that Terraform installed correctly.
learn.hashicorp.com
'각종 기술 삽질하며 익히기 - onpremise' 카테고리의 다른 글
| Elasticsearch를 삽질해보자(feat. 유트브짱) (0) | 2022.02.22 |
|---|---|
| filebeat & logstash 자주쓰는 설정 옵션 한글로 정리 (0) | 2022.02.22 |
| spark to mysql 간단코드(scala) (0) | 2022.02.22 |
| 파일 > 카프카 > 스파크 > 엘라스틱 서치로 데이터 옮겨보기 (0) | 2022.02.22 |
| 주키퍼 & 카프카 설치하고 써보기 (0) | 2022.02.22 |