diff --git a/terraform_docs.sh b/terraform_docs.sh index 0935b69e6..26406027b 100755 --- a/terraform_docs.sh +++ b/terraform_docs.sh @@ -153,7 +153,9 @@ terraform_docs_awk() { if (blockDefCnt > 0) { blockDefCnt = 0 } - print $0 + if ($blockDefCnt !~ /(string|number|bool)$/) { + print $0 + } } } }