순서 

 

1. 테라폼 CLI 설치

Install | Terraform | HashiCorp Developer

 

Install | Terraform | HashiCorp Developer

Explore Terraform product documentation, tutorials, and examples.

developer.hashicorp.com

 

자신의 cpu 에 맞는 걸 다운로드. (인텔꺼면 위에 암드꺼면 아래로)

압축 해제하면, 아래 파일이 나오는데

다운로드 후 압축 해제
 
 

시스템 환경 변수를 잡아주어야한다.

 

일단, 저 파일을 C -> Terraform 폴더를 만들어서 넣어줬다.

 

윈도우 키를 누르고, 환경이라고 쳐보면, 시스템 환경 변수 편집이 있다.

 

환경 검색 -> 시스템 환경 변수 편집 클릭

 

클릭
더블 클릭
압축푼 파일 위치 폴더까지 찾아서 선택

 

 

재부팅 후

 

cmd , powershell 등에서 terraform 이라고 쳤을 때, 아래 처럼 나오면 환경변수가 정확하게 잡힌것임.

2. 편집기 설치 (VSCODE)
 

편집기 vscode 를 설치해보자.

 

Download Visual Studio Code - Mac, Linux, Windows

 

Download Visual Studio Code - Mac, Linux, Windows

Visual Studio Code is free and available on your favorite platform - Linux, macOS, and Windows. Download Visual Studio Code to experience a redefined code editor, optimized for building and debugging modern web and cloud applications.

code.visualstudio.com

 

설치후 실행

Terminal 클릭 ! -> 아래 터미널 창이 열리면, terraform 입력 해보기