# tap it
brew tap hashicorp/tap
# install it
brew install hashicorp/tap/terraform
# upgrade it
brew upgrade hashic orp/tap/terraform
# enable tab completion
terraform -install-autocomplete
# verify it
terraform -help
There's a good series of intro tutorials, if you're completely new to Terriform, here
And a great discussion around using Terraform with AWS (and its modules
feature) can be found
here
To see a dry run of what terraform would execute/change run: terraform plan
To automatically standardize the format of Terraform files *.tf
in your current directory,
you can run: terraform fmt