diff --git a/tools/check_documentation.py b/tools/check_documentation.py index 8c3635f91..00cd2d6d1 100755 --- a/tools/check_documentation.py +++ b/tools/check_documentation.py @@ -56,7 +56,7 @@ def _check_dir(dir_name, exclude_files=None, files=False, show_extra=False): variables = [ v.name for v in new_doc.variables if v.file == "variables.tf" ] - outputs = [v.name for v in new_doc.outputs] + outputs = [o.name for o in new_doc.outputs if o.file == "outputs.tf"] except SystemExit: state = state.SKIP else: