Review the module at modules// and verify the following. Fix anything that doesn't conform without being asked.
- All 6 files present: main.tf, variables.tf, outputs.tf, locals.tf, versions.tf, README.md
- versions.tf contains:
- required_version = ">= 1.15.6"
- aws provider pinned to ~> 6.50
- variables.tf has a tags variable: type map(string), default {}, description "Resource tags to apply to all resources"
- locals.tf has tag merging logic — merges var.tags with any module-level defaults
- main.tf has no hardcoded values — only references to locals and var
- main.tf uses for_each exclusively, no count anywhere
- main.tf has no backend block
- outputs.tf exposes at minimum the primary resource ID and ARN
- Primary resource name is
thiswhere there is a single logical resource of that type - Section banners follow the convention —
# heading ===...capped at 80 chars for top-level,# heading ---...for sub-sections - 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.