Skip to content

Latest commit

 

History

History
36 lines (26 loc) · 763 Bytes

terraform.md

File metadata and controls

36 lines (26 loc) · 763 Bytes

Terraform CLI - Preparatory steps

Install the Terraform Command Line Interface (CLI) to manage infrastructure and interact with Terraform state, providers, configuration files, and Terraform Cloud.

Example

macOS installation and setup

brew tap hashicorp/tap
brew install hashicorp/tap/terraform
brew update
brew upgrade hashicorp/tap/terraform
terraform version
How to enable tab completion
$ which terraform
  /opt/homebrew/bin/terraform
$ echo "complete -C /opt/homebrew/bin/terraform terraform" >> ~/.bash_profile
$ source ~/.bash_profile