Skip to content

Commit

Permalink
change to remove terraform_docs_replace to terraform_docs
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Nov 1, 2023
1 parent f4c1645 commit 51c23eb
Showing 1 changed file with 46 additions and 0 deletions.
46 changes: 46 additions & 0 deletions .terraform-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
## https://github.com/antonbabenko/pre-commit-terraform/issues/248#issuecomment-1290829226
formatter: "markdown table"

header-from: main.tf
footer-from: ""

sections:
## hide: []
show:
- data-sources
- header
- footer
- inputs
- modules
- outputs
- providers
- requirements
- resources

output:
file: README.md
mode: inject
template: |-
<!-- BEGIN_TF_DOCS -->
{{ .Content }}
<!-- END_TF_DOCS -->
## output-values:
## enabled: false
## from: ""
##
## sort:
## enabled: true
## by: name
##
## settings:
## anchor: true
## color: true
## default: true
## description: false
## escape: true
## indent: 2
## required: true
## sensitive: true
## type: true

0 comments on commit 51c23eb

Please sign in to comment.