mirror of
https://github.com/patrickchugh/terravision.git
synced 2026-05-09 08:25:25 +02:00
[PR #180] [MERGED] Add Terragrunt support (single + multi-module) #189
Labels
No labels
bug
enhancement
enhancement
good first issue
good first issue
good first issue
pipeline
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/terravision#189
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/patrickchugh/terravision/pull/180
Author: @patrickchugh
Created: 3/29/2026
Status: ✅ Merged
Merged: 3/29/2026
Merged by: @patrickchugh
Base:
main← Head:008-terragrunt-support📝 Commits (2)
ce597bfclaude guidance update1070484Add Terragrunt support for single and multi-module projects📊 Changes
15 files changed (+1448 additions, -86 deletions)
View changed files
📝
.github/workflows/lint-and-test.yml(+4 -0)📝
.gitignore(+2 -2)📝
docs/CLAUDE.md(+63 -81)📝
modules/interpreter.py(+2 -0)➕
modules/tgwrapper.py(+628 -0)📝
modules/validators.py(+15 -0)📝
terravision/terravision.py(+46 -3)➕
tests/fixtures/terragrunt-multi/app/main.tf(+25 -0)➕
tests/fixtures/terragrunt-multi/app/terragrunt.hcl(+40 -0)➕
tests/fixtures/terragrunt-multi/vpc/main.tf(+24 -0)➕
tests/fixtures/terragrunt-multi/vpc/terragrunt.hcl(+27 -0)➕
tests/fixtures/terragrunt-single/main.tf(+7 -0)➕
tests/fixtures/terragrunt-single/terragrunt.hcl(+27 -0)➕
tests/test_terragrunt_detection.py(+76 -0)➕
tests/test_tgwrapper.py(+462 -0)📄 Description
Summary
terragrunt.hclpresence — no new CLI flagsterragrunt init/plan/show/graph, feeds into existing pipelinemodule.<name>.prefixes, parsesdependencyblocks with python-hcl2 to inject cross-module edges into graphdictadd_relations()codeResolves #114
Files Changed
modules/tgwrapper.py— new Terragrunt wrapper (detection, plan execution, merging, dependency parsing)modules/validators.py— addedis_terragrunt_source()APImodules/interpreter.py— guard for unknown module names in variable_mapterravision/terravision.py— Terragrunt detection branch incompile_tfdata().github/workflows/lint-and-test.yml— install Terragrunt on CI runnersTest plan
🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.