-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a6ddc2f
commit 025dd60
Showing
2 changed files
with
37 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
--- | ||
sidebar_position: 1130 | ||
--- | ||
|
||
# Generate document using `terraform-docs` | ||
|
||
[#1859](https://github.com/suzuki-shunsuke/tfaction/issues/1859) [#1878](https://github.com/suzuki-shunsuke/tfaction/pulls/1878) [v1.8.0](https://github.com/suzuki-shunsuke/tfaction/releases/tag/v1.8.0) | ||
|
||
## How to use | ||
|
||
By default, this feature is disabled. | ||
|
||
tfaction-root.yaml: | ||
|
||
```yaml | ||
terraform_docs: | ||
enabled: true | ||
``` | ||
tfaction.yaml: | ||
```yaml | ||
terraform_docs: | ||
enabled: true | ||
``` | ||
## terraform-docs configuration | ||
tfaction searches a configuration file: | ||
1. .terraform-docs.ya?ml in service directory | ||
2. .config/.terraform-docs.ya?ml in service directory | ||
3. .terraform-docs.ya?ml in the repository root directory | ||
4. .config/.terraform-docs.ya?ml in the repository root directory | ||
https://terraform-docs.io/user-guide/configuration/ |
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