@@ -43,7 +43,7 @@ Stable binaries are also available on the [releases] page. To install, download
43
43
binary for your platform from "Assets" and place this into your ` $PATH ` :
44
44
45
45
``` bash
46
- curl -Lo ./terraform-docs.tar.gz https://github.com/terraform-docs/terraform-docs/releases/download/v0.15 .0/terraform-docs-v0.15 .0-$( uname) -amd64.tar.gz
46
+ curl -Lo ./terraform-docs.tar.gz https://github.com/terraform-docs/terraform-docs/releases/download/v0.16 .0/terraform-docs-v0.16 .0-$( uname) -amd64.tar.gz
47
47
tar -xzf terraform-docs.tar.gz
48
48
chmod +x terraform-docs
49
49
mv terraform-docs /usr/local/terraform-docs
@@ -55,12 +55,12 @@ The latest version can be installed using `go install` or `go get`:
55
55
56
56
``` bash
57
57
# go1.17+
58
- go install github.com/terraform-docs/terraform-docs@v0.15 .0
58
+ go install github.com/terraform-docs/terraform-docs@v0.16 .0
59
59
```
60
60
61
61
``` bash
62
62
# go1.16
63
- GO111MODULE=" on" go get github.com/terraform-docs/terraform-docs@v0.15 .0
63
+ GO111MODULE=" on" go get github.com/terraform-docs/terraform-docs@v0.16 .0
64
64
```
65
65
66
66
** NOTE:** please use the latest Go to do this, minimum ` go1.16 ` is required.
@@ -92,14 +92,14 @@ terraform-docs can be run as a container by mounting a directory with `.tf`
92
92
files in it and run the following command:
93
93
94
94
``` bash
95
- docker run --rm --volume " $( pwd) :/terraform-docs" -u $( id -u) quay.io/terraform-docs/terraform-docs:0.15 .0 markdown /terraform-docs
95
+ docker run --rm --volume " $( pwd) :/terraform-docs" -u $( id -u) quay.io/terraform-docs/terraform-docs:0.16 .0 markdown /terraform-docs
96
96
```
97
97
98
98
If ` output.file ` is not enabled for this module, generated output can be redirected
99
99
back to a file:
100
100
101
101
``` bash
102
- docker run --rm --volume " $( pwd) :/terraform-docs" -u $( id -u) quay.io/terraform-docs/terraform-docs:0.15 .0 markdown /terraform-docs > doc.md
102
+ docker run --rm --volume " $( pwd) :/terraform-docs" -u $( id -u) quay.io/terraform-docs/terraform-docs:0.16 .0 markdown /terraform-docs > doc.md
103
103
```
104
104
105
105
** NOTE:** Docker tag ` latest ` refers to _ latest_ stable released version and ` edge `
@@ -146,7 +146,7 @@ in the root of your Git repo with at least the following content:
146
146
` ` ` yaml
147
147
repos:
148
148
- repo: https://github.com/terraform-docs/terraform-docs
149
- rev: "v0.15 .0"
149
+ rev: "v0.16 .0"
150
150
hooks:
151
151
- id: terraform-docs-go
152
152
args: ["markdown", "table", "--output-file", "README.md", "./mymodule/path"]
0 commit comments