Skip to content

Upgrade Go to 1.24.0 and update terragrunt module for CLI redesign#1633

Merged
james00012 merged 4 commits intomainfrom
fix/terragrunt-cli-redesign
Dec 3, 2025
Merged

Upgrade Go to 1.24.0 and update terragrunt module for CLI redesign#1633
james00012 merged 4 commits intomainfrom
fix/terragrunt-cli-redesign

Conversation

@james00012
Copy link
Copy Markdown
Contributor

@james00012 james00012 commented Dec 1, 2025

Summary

  • Upgrade Go version to 1.24.0 in CircleCI
  • Migrate environment variables from TERRAGRUNT_* to TG_* prefix
  • Update --terragrunt-non-interactive flag to --non-interactive
  • Prepend --non-interactive as global flag (must come before subcommand)
  • Replace deprecated run-all <cmd> syntax with <cmd> --all
  • Update deprecated validate-inputs command to hcl validate
  • Update console command to use run -- console syntax

These changes align with the Terragrunt CLI Redesign.

Test plan

  • All modules/terraform tests pass locally
  • TestTerragruntConsole passes
  • CI passes

Note: TestTerragruntExample has a pre-existing failure unrelated to these changes.

Migrate to new Terragrunt CLI syntax following the CLI redesign:
- Rename env vars from TERRAGRUNT_* to TG_* prefix
- Change --terragrunt-non-interactive to --non-interactive
- Replace run-all commands with --all flag syntax
- Update validate-inputs to hcl validate
@james00012 james00012 changed the title Update terragrunt module for CLI redesign compatibility Upgrade Go to 1.24.0 and update terragrunt module for CLI redesign Dec 1, 2025
james00012 and others added 2 commits December 1, 2025 14:06
- Prepend --non-interactive before subcommand (global flag must come first)
- Update console test to use 'run -- console' syntax
@james00012 james00012 merged commit 861ec5b into main Dec 3, 2025
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants