Skip to content

Commit

Permalink
Merge pull request #141 from terraform-docs/bump-to-1.2.2
Browse files Browse the repository at this point in the history
Bump to v1.2.2
  • Loading branch information
pascal-hofmann authored Sep 9, 2024
2 parents 89278fb + c7a4eb3 commit bdea387
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ branch.

## Version

`v1.2.1` (uses [terraform-docs] v0.18.0, which is supported and tested on Terraform
`v1.2.2` (uses [terraform-docs] v0.18.0, which is supported and tested on Terraform
version 0.11+ and 0.12+ but may work for others.)

### Upgrade v0 to v1
Expand Down Expand Up @@ -42,7 +42,7 @@ jobs:
ref: ${{ github.event.pull_request.head.ref }}

- name: Render terraform docs inside the README.md and push changes back to PR branch
uses: terraform-docs/[email protected].1
uses: terraform-docs/[email protected].2
with:
working-dir: .
output-file: README.md
Expand Down Expand Up @@ -148,7 +148,7 @@ To enable you need to ensure a few things first:

```yaml
- name: Generate TF Docs
uses: terraform-docs/[email protected].1
uses: terraform-docs/[email protected].2
with:
working-dir: .
```
Expand All @@ -157,7 +157,7 @@ To enable you need to ensure a few things first:

```yaml
- name: Generate TF Docs
uses: terraform-docs/[email protected].1
uses: terraform-docs/[email protected].2
with:
working-dir: .,example1,example3/modules/test
```
Expand All @@ -166,7 +166,7 @@ To enable you need to ensure a few things first:

```yaml
- name: Generate TF docs
uses: terraform-docs/[email protected].1
uses: terraform-docs/[email protected].2
with:
atlantis-file: atlantis.yaml
```
Expand All @@ -175,7 +175,7 @@ To enable you need to ensure a few things first:

```yaml
- name: Generate TF docs
uses: terraform-docs/[email protected].1
uses: terraform-docs/[email protected].2
with:
find-dir: examples/
```
Expand All @@ -184,13 +184,13 @@ To enable you need to ensure a few things first:

```yaml
- name: Generate TF docs
uses: terraform-docs/[email protected].1
uses: terraform-docs/[email protected].2
with:
working-dir: examples/
recursive: true
recursive-path: modules
```

Complete examples can be found [here](https://github.com/terraform-docs/gh-actions/tree/v1.2.1/examples).
Complete examples can be found [here](https://github.com/terraform-docs/gh-actions/tree/v1.2.2/examples).

[terraform-docs]: https://github.com/terraform-docs/terraform-docs
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ outputs:

runs:
using: docker
image: "docker://quay.io/terraform-docs/gh-actions:1.2.1"
image: "docker://quay.io/terraform-docs/gh-actions:1.2.2"
env:
INPUT_WORKING_DIR: ${{ inputs.working-dir }}
INPUT_ATLANTIS_FILE: ${{ inputs.atlantis-file }}
Expand Down

0 comments on commit bdea387

Please sign in to comment.