Skip to content

Commit 1e8fb7a

Browse files
adamwhitingnhsmegan-bower4
authored andcommitted
add terraform-docs WSL install script to readme
1 parent caf3183 commit 1e8fb7a

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,15 @@ This repository is used to build the infrastructure the NDR. That is it's sole p
77
- [Terraform](https://developer.hashicorp.com/terraform/install)
88
- [Terraform docs](https://github.com/terraform-docs/terraform-docs)
99

10+
To install terraform-docs on WSL use the following command
11+
```
12+
curl -sSLo ./terraform-docs.tar.gz https://terraform-docs.io/dl/v0.20.0/terraform-docs-v0.20.0-$(uname)-amd64.tar.gz &&
13+
tar -xzf terraform-docs.tar.gz &&
14+
chmod +x terraform-docs &&
15+
sudo mv terraform-docs /usr/local/bin/terraform-docs &&
16+
rm terraform-docs.tar.gz
17+
```
18+
1019
## Installation
1120

1221
### pre-commit hook

0 commit comments

Comments
 (0)