module-validation-pass-1.md

Review the module at modules// and verify the following. Fix anything that doesn't conform without being asked.

  1. All 6 files present: main.tf, variables.tf, outputs.tf, locals.tf, versions.tf, README.md
  2. versions.tf contains:
    • required_version = ">= 1.15.6"
    • aws provider pinned to ~> 6.50
  3. variables.tf has a tags variable: type map(string), default {}, description "Resource tags to apply to all resources"
  4. locals.tf has tag merging logic — merges var.tags with any module-level defaults
  5. main.tf has no hardcoded values — only references to locals and var
  6. main.tf uses for_each exclusively, no count anywhere
  7. main.tf has no backend block
  8. outputs.tf exposes at minimum the primary resource ID and ARN
  9. Primary resource name is this where there is a single logical resource of that type
  10. Section banners follow the convention — # heading ===... capped at 80 chars for top-level, # heading ---... for sub-sections
  11. README.md has:
    • Title
    • One line description
    • Brief paragraph on what the module provisions
    • Usage block with source = "hcassc.jfrog.io/iac-terraform-modules-virtual///aws" and version = "0.1.0"
    • Terraform-docs anchors: and

Report pass/fail per check and fix all failures before reporting done.