-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
fix: Update Terragrunt flag for v0.85.0+ compatibility #1588
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
fix: Update Terragrunt flag for v0.85.0+ compatibility #1588
Conversation
|
This is a breaking change in that it raises the minimum required version of Terragrunt to v0.73.0. We'd want the docs updated accordingly. |
|
Hi @matthewgulliver friendly ping on the comment to address above. Are you still working on this PR? |
|
Hey @james00012, thanks for the reminder. I've added Terragrunt v0.73.0+ requirement to the Requirements section in |
31dced0 to
b39739d
Compare
|
When is this going to be merged? This is a blocker of using Terratest and Terragrunt with newer versions. |
|
hi team, yep keen to have this in a new release; @james00012 |
|
Hey @james00012 @yhakbar, Just checking in to see if there was anything I'd missed or whether you guys have any further requirements for the PR? If so, just let me know and I'll make the necessary changes. Thanks, |
|
Could you provide Matthew an answer to his question? #1588 (comment) We're also waiting for this fix. |
Description
Updates Terratest to be compatible with Terragrunt v0.85.0+ by replacing the deprecated
--terragrunt-non-interactiveflag with the new--non-interactiveflag.This resolves test failures that occur when using modern Terragrunt versions due to Terragrunt's CLI redesign that removed all
--terragrunt-*prefixed flags in favor of shorter alternatives.Changes Made
modules/terraform/cmd.go--terragrunt-non-interactiveto--non-interactiveTesting
✅ Verified with Terragrunt v0.86.2, Go v1.24.2 on Ubuntu 24.04
✅ All terragrunt tests pass:
TestTerragruntExample,TestTerragruntConsoleBackward Compatibility
This change maintains compatibility:
--non-interactiveflag--non-interactive(flag existed before deprecation)TODOs
Release Notes (draft)
Updated Terratest Terragrunt integration to use
--non-interactiveflag instead of deprecated--terragrunt-non-interactiveflag for compatibility with Terragrunt v0.85.0+.Migration Guide
No migration required for users. This is an internal change to maintain compatibility with modern Terragrunt versions. Users may need to update their Terragrunt installations if using very old versions, but this change is backward compatible with all supported Terragrunt releases.
References