-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore: prepare release v1.0.8 * feat: Bump docs to v0.9.1 * chore: terraform-docs build * chore: add --no-requirements to examples * chore: terraform-docs build
- Loading branch information
Showing
10 changed files
with
56 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
# terraform-docs | ||
A Github action for generating terraform module documentation using terraform-docs and gomplate. In addition to statically defined directory modules, this module can search specific sub folders or parse atlantis.yaml for module identification and doc generation. This action has the ability to auto commit docs to an open PR or after a push to a specific branch. | ||
## Version | ||
v1.0.7 | ||
v1.0.8 | ||
|
||
Using [terraform-docs](https://github.com/segmentio/terraform-docs) v0.8.2, which is supported and tested on terraform version 0.11+ & 0.12+ but may work for others. | ||
Using [terraform-docs](https://github.com/segmentio/terraform-docs) v0.9.1, which is supported and tested on terraform version 0.11+ & 0.12+ but may work for others. | ||
|
||
|
||
|
||
|
@@ -22,7 +22,7 @@ jobs: | |
ref: ${{ github.event.pull_request.head.ref }} | ||
|
||
- name: Render terraform docs inside the USAGE.md and push changes back to PR branch | ||
uses: Dirrk/[email protected].7 | ||
uses: Dirrk/[email protected].8 | ||
with: | ||
tf_docs_working_dir: . | ||
tf_docs_output_file: USAGE.md | ||
|
@@ -118,7 +118,7 @@ jobs: | |
## Simple / Single folder | ||
``` | ||
- name: Generate TF Docs | ||
uses: Dirrk/[email protected].7 | ||
uses: Dirrk/[email protected].8 | ||
with: | ||
tf_docs_working_dir: . | ||
tf_docs_output_file: README.md | ||
|
@@ -127,7 +127,7 @@ jobs: | |
## Multi folder | ||
``` | ||
- name: Generate TF Docs | ||
uses: Dirrk/[email protected].7 | ||
uses: Dirrk/[email protected].8 | ||
with: | ||
tf_docs_working_dir: .,example1,example3/modules/test | ||
tf_docs_output_file: README.md | ||
|
@@ -136,17 +136,17 @@ jobs: | |
## Use atlantis.yaml v3 to find all dirs | ||
``` | ||
- name: Generate TF docs | ||
uses: Dirrk/[email protected].7 | ||
uses: Dirrk/[email protected].8 | ||
with: | ||
tf_docs_atlantis_file: atlantis.yaml | ||
``` | ||
## Find all .tf file folders under a given directory | ||
```yaml | ||
- name: Generate TF docs | ||
uses: Dirrk/[email protected].7 | ||
uses: Dirrk/[email protected].8 | ||
with: | ||
tf_docs_find_dir: examples/ | ||
``` | ||
|
||
Complete examples can be found [here](https://github.com/Dirrk/terraform-docs/tree/v1.0.7/examples) | ||
Complete examples can be found [here](https://github.com/Dirrk/terraform-docs/tree/v1.0.8/examples) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters