Skip to main content

terraform-flat-to-modular

Refactor flat, unstructured Terraform configurations into typed, modular, well-structured HCL while preserving the deployed infrastructure. Works across an entire Terraform workspace, whether the configuration lives in one file or many, targeting common anti-patterns: hardcoded values, duplicated resource blocks, missing module boundaries, untyped variables, repeated inline tags, unpinned providers, and plaintext secrets. Produces module boundaries, typed variables, for_each de-duplication, provider default_tags, pinned providers, externalized secrets, and a moved block for every changed resource address so that terraform plan is a no-op.

Jump to install

Source facts

Repository
aws-samples/sample-terraform-transform-custom
Last source activity
August 18, 2026 at 04:39
Detected SKILL.md language
English
Stars
0
Forks
0

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.