Skip to content

Commit dd2a884

Browse files
authored
Merge pull request #59 from terraform-docs/update-v0.15.0
Upgrade terraform-docs to v0.15.0
2 parents 34eb04c + c547d87 commit dd2a884

File tree

5 files changed

+29
-29
lines changed

5 files changed

+29
-29
lines changed

.github/templates/README.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ branch.
1212

1313
## Version
1414

15-
`{{ $version }}` (uses [terraform-docs] v0.14.1, which is supported and tested on Terraform
15+
`{{ $version }}` (uses [terraform-docs] v0.15.0, which is supported and tested on Terraform
1616
version 0.11+ and 0.12+ but may work for others.)
1717

1818
{{- if eq $version "main" }}

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ jobs:
8686
with:
8787
working-dir: examples/tf12_inject
8888
output-file: README.md
89-
args: --sort-by-required
89+
args: --sort-by required
9090
indention: 3
9191
git-push: true
9292
git-push-sign-off: true

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
FROM quay.io/terraform-docs/terraform-docs:0.14.1
15+
FROM quay.io/terraform-docs/terraform-docs:0.15.0
1616

1717
# this is explicitly needed because yq v4.x only exists in this repo.
1818
RUN echo "http://dl-4.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ branch.
88

99
## Version
1010

11-
`v0.9.0` (uses [terraform-docs] v0.14.1, which is supported and tested on Terraform
11+
`v0.9.0` (uses [terraform-docs] v0.15.0, which is supported and tested on Terraform
1212
version 0.11+ and 0.12+ but may work for others.)
1313

1414
## Usage

examples/tf12_inject/README.md

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,27 @@
1-
# Test Inject
2-
3-
## Input
4-
5-
```yaml
6-
- name: Should generate README.md for tf12_inject and push up all changes
7-
uses: ./
8-
with:
9-
working-dir: examples/tf12_inject
10-
output-file: README.md
11-
args: --sort-by-required
12-
indention: 3
13-
git-push: true
14-
git-commit-message: "terraform-docs: automated action"
15-
```
16-
17-
## Verify
18-
19-
- Should inject below Usage
20-
- Should push up changes on build with commit message 'terraform-docs: automated action'
21-
22-
## Usage
23-
24-
<!--- BEGIN_TF_DOCS --->
1+
# Test Inject
2+
3+
## Input
4+
5+
```yaml
6+
- name: Should generate README.md for tf12_inject and push up all changes
7+
uses: ./
8+
with:
9+
working-dir: examples/tf12_inject
10+
output-file: README.md
11+
args: --sort-by required
12+
indention: 3
13+
git-push: true
14+
git-commit-message: "terraform-docs: automated action"
15+
```
16+
17+
## Verify
18+
19+
- Should inject below Usage
20+
- Should push up changes on build with commit message 'terraform-docs: automated action'
21+
22+
## Usage
23+
24+
<!--- BEGIN_TF_DOCS --->
2525
### Requirements
2626
2727
| Name | Version |
@@ -64,4 +64,4 @@ No modules.
6464
|------|-------------|
6565
| <a name="output_vpc_id"></a> [vpc\_id](#output\_vpc\_id) | The Id of the VPC |
6666

67-
<!--- END_TF_DOCS --->
67+
<!--- END_TF_DOCS --->

0 commit comments

Comments
 (0)