테라폼 커멘드
테라폼 커멘드
설치
brew tap hashicorp/tap
brew install hashicorp/tap/terraform
업데이트
brew update
brew upgrade hashicorp/tap/terraform
자동완성 설치
touch ~/.zshrc
terraform -install-autocomplete
초기화
terraform init
포멧 확인
terraform fmt
검증
terraform validate
인프라 계획
terraform plan
인프라 생성
terraform apply
상태 검사
terraform show
인프라 삭제
terraform destroy