tg-migrate-fix

Applies bulk find-replace and input updates across all terragrunt.hcl files with dry-run diffs.

Updated Jul 22, 2026
One-click install
npx skills add https://github.com/Trigent-Software-Pvt-Ltd/trigen-aidlc --skill tg-migrate-fix-trigent-software-pvt-ltd
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tg-migrate-fix
Source: https://github.com/Trigent-Software-Pvt-Ltd/trigen-aidlc/tree/main/plugins/terragrunt-migrate/skills/tg-migrate-fix
Command: npx skills add https://github.com/Trigent-Software-Pvt-Ltd/trigen-aidlc --skill tg-migrate-fix-trigent-software-pvt-ltd

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? When a correction is needed in a Terragrunt migration, the same change must be propagated to every terragrunt.hcl file across all populated environments, which is tedious and error-prone to do by hand. ## Core Features & Use Cases - Bulk Find/Replace: Replace strings across all terragrunt.hcl files using the migration_bulk_replace tool. - Input Management: Update an existing input value or add a new input across selected services with migration_bulk_update_input and migration_bulk_add_input. - Dry-Run Safety: Always runs in dry-run mode first, showing exact before/after diffs and file counts, and requires explicit approval before applying. - Use Case: You need to change the provider version constraint from ~> 3.0 to ~> 4.0 in every environment; the skill dry-runs the change, shows all affected files, and applies it only after your confirmation. ## Quick Start Ask the assistant to apply a bulk fix by providing the target repository path and a description such as "change provider version from ~> 3.0 to ~> 4.0 across all terragrunt.hcl files".

Frequently Asked Questions about tg-migrate-fix

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I apply a change to all terragrunt.hcl files at once?

Provide the target repository path and a plain-language description of the change. The skill selects the right bulk tool, runs it in dry-run mode to show before/after diffs, and applies the change only after your explicit approval.

How to update an input value across multiple Terragrunt services?

Use the bulk input update operation with the input key, new value, and an optional list of services such as keyvault or storage. The change is previewed in dry-run mode first so you can verify affected files.

Does the bulk fix tool run a dry-run before modifying files?

Yes, every operation runs with dry_run set to true first. It shows the files that would be modified, exact before/after values, and the total count, and only applies changes after explicit confirmation.

Can I exclude specific environments from a bulk Terragrunt change?

Yes, after reviewing the dry-run results you can ask to exclude specific environments before applying. The skill confirms the final count of files to be modified before making any changes.

What types of changes can the Terragrunt bulk fix handle?

It supports three operation types: simple string find-and-replace, updating the value of an existing input, and adding a new input. Each can be scoped to all files or to specific services.