설치방법(for windows)
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
매우 친절하게 유형별 설치방법이 나와있다.
이런식으로 설명해놓은곳은 처음 봤음
저는 윈도우라 윈도우로 실행하겠습니다.(다른곳도 패키지매니저로 설치하여 비슷합니다.)
powershell 에서 choco로 terraform 을 설치하려고 했습니다.
다음 명령어로 설치 할 수 있습니다.
choco install terraform
관리자 권한으로 실행을 해야하네요..
terraform -help 명령어로 설치되어있는지 확인해 보았습니다.
잘되는것을 보실수 있습니다.
윈도우는 지원이 안되는경우가 좀 있습니다.
https://github.com/hashicorp/terraform/issues/29125
Add tab-completion support for PowerShell · Issue #29125 · hashicorp/terraform
Current Terraform Version 1.0.0 Proposal Please add tab-completion support for PowerShell to terraform -install-autocomplete.
github.com
https://www.terraform.io/cli/config/config-file
CLI Configuration | Terraform by HashiCorp
Learn to use the CLI configuration file to customize your CLI settings, including credentials, plugin caching, provider installation methods, etc.
www.terraform.io
플러그인 캐시 용량 늘어나서 설정을 동일한거 한번만 설치하도록 설정
.terraformrc
plugin_cache_dir = "$HOME/.terraform.d/plugin-cache"
댓글