no-terraform-comments
Express Terraform intent through names and descriptions, with optional concise module summaries.
Why
Names and descriptions carry executable intent. An optional short entrypoint summary exposes module purpose without a separate catalog.
Fix
Use clear names and native descriptions. Opt into module_summaries for one short main.tf header. Retain required legal notices, provenance and functional directives through reviewed exact-file manifest exclusions with an owner/reason; never delete a control to clear a style finding.
Examples
# Keep this bucket private.resource "example_bucket" "private" {}resource "example_bucket" "private" { description = "Private application storage"}locals { value = 1 /**/ + 2 }locals { value = 1 + 2 }Autofix output
locals { value = 1 + 2 }#locals { value = 1 }locals { value = 1 }Autofix output
locals { value = 1 }