IdeaCredIdeaCred

S-mishina/hcl_processor

75

This is a Python tool that reads Terraform HCL files and sends them to the AWS Bedrock API (e.g. Claude and generates JSON output and Markdown reports. It supports automated analysis and documentation of infrastructure configurations.

What's novel

This is a Python tool that reads Terraform HCL files and sends them to the AWS Bedrock API (e.g. Claude and generates JSON output and Markdown reports. It supports automated analysis and documentation of infrastructure configurations.

Code Analysis

16 files read · 5 rounds

A Python CLI tool that reads Terraform HCL files, sends them to AWS Bedrock (Claude) via the Converse API with tool-based structured output, and generates JSON and Markdown documentation of infrastructure configurations.

Strengths

Well-structured provider abstraction with factory pattern, JSON Schema validation for both config and LLM output, a thoughtful failback/chunking strategy for large payloads, and comprehensive unit tests with meaningful edge case coverage including the array-schema wrapping for Bedrock API compatibility.

Weaknesses

The core 'intelligence' is entirely delegated to the LLM — the tool is essentially a well-built wrapper around a Bedrock API call with no novel algorithms or parsing logic beyond hcl2.loads(); the failback strategy has a TODO comment admitting it's 'not yet guaranteed to work' for the resource type, and the system prompt in system_config.py contains a broken string with mismatched quotes.

Score Breakdown

Innovation
4 (25%)
Craft
75 (35%)
Traction
11 (15%)
Scope
74 (25%)

Signal breakdown

Innovation

Not Fork+1
Code Novelty+1
Concept Novelty+1

Craft

Ci+5
Tests+8
Polish+0
Releases+4
Has License+0
Code Quality+21
Readme Quality+15
Recent Activity+7
Structure Quality+5
Commit Consistency+5
Has Dependency Mgmt+5

Traction

Forks+0
Stars+6
Hn Points+0
Watchers+3
Early Traction+0
Devto Reactions+0
Community Contribs+2

Scope

Commits+8
Languages+5
Subsystems+10
Bloat Penalty+0
Completeness+6
Contributors+6
Authored Files+12
Readme Code Match+3
Architecture Depth+7
Implementation Depth+8

Evidence

Commits

284

Contributors

2

Files

43

Active weeks

22

TestsCI/CDREADMELicenseContributing

Repository

Language

Python

Stars

1

Forks

0

License

NOASSERTION