Skip to content

Commit

Permalink
terraform install
Browse files Browse the repository at this point in the history
  • Loading branch information
dpurge committed Nov 23, 2023
1 parent 0031062 commit 85138c1
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 1 deletion.
15 changes: 15 additions & 0 deletions content/docs/devops/macos/homebrew.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,18 @@ brew uninstall xxx
brew bundle dump
brew bundle install --file ./Brewfile
```
## Hashicorp tools

Install:

```sh
brew tap hashicorp/tap
brew install hashicorp/tap/terraform
```

Upgrade:

```sh
brew update
brew upgrade hashicorp/tap/terraform
```
15 changes: 14 additions & 1 deletion content/docs/devops/terraform/installation.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Installation

# Linux
{{< tabs "tf-setup" >}}

{{< tab "Linux" >}}

Install `tfswitch`:

Expand Down Expand Up @@ -30,3 +32,14 @@ cd /usr/local/bin
unzip /tmp/tflint_linux_amd64.zip
rm /tmp/tflint_linux_amd64.zip
```

{{< /tab >}}

{{< tab "MacOS" >}}
```sh
brew tap hashicorp/tap
brew install hashicorp/tap/terraform
```
{{< /tab >}}

{{< /tabs >}}

0 comments on commit 85138c1

Please sign in to comment.