documented-outputs
What it does
Section titled “What it does”Reports an output block with no description argument.
Why it matters
Section titled “Why it matters”The description is what a user of the module reads in the registry and in generated documentation. An output without one has to be understood from the name and the expression.
To fix, add description.
Example
Section titled “Example”... }}
output "bare" { value = 1}
...Configuration
Section titled “Configuration”hcl: lint: rules: documented-outputs: warn # off (default), warn, errorSuppress one line with sudsy-disable-next-line documented-outputs in a comment of the file’s language.
Upstream equivalents
Section titled “Upstream equivalents”The same check in other tools; Sudsy reports what each upstream rule reports.
| Tool | Rule | Match |
|---|---|---|
| tflint | terraform_documented_outputs |
full |