Skip to content

Not compatible with modern terragrunt versions after CLI redesign #2303

@languitar

Description

@languitar

Terragrunt has removed the terragrunt prefix for many CLI options recently. However, the digger code hard-codes a few terragrunt options using the old conventions. This makes digger apply fail with modern terragrunt versions:

time=2025-10-06T13:32:34.235Z level=INFO msg="Running Terragrunt command" command.binary=terragrunt command.args="[apply -lock-timeout=3m --auto-approve --terragrunt-non-interactive]" command.workingDir=/home/runner/xxxx
13:32:34.315 INFO   Terragrunt Cache server is listening on 127.0.0.1:43657
13:32:34.316 INFO   Start Terragrunt Cache server

Error: Failed to parse command-line flags

flag provided but not defined: -terragrunt-non-interactive

For more help on using this command, run:
  tofu apply -help

Either the default options should be part of the digger.yml workflow config, or they need to be configurable or auto-selected based on the terragrunt version.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions