Skip to content

Commit

Permalink
Only look at outputs.tf in check documentation lint
Browse files Browse the repository at this point in the history
  • Loading branch information
juliocc committed Nov 21, 2022
1 parent 3a4786f commit 105396a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/check_documentation.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 105396a

Please sign in to comment.