The
terragrunt_parsing configuration is used within generate_projects or individual blocks to control how Digger discovers and generates projects from Terragrunt configurations.terragrunt_parsing key. This is available at both the generate_projects level and within individual blocks.
Configuration Options
Directory and Path Options
The root directory of the git repository. Used as the base path for relative directory calculations.
Path where the generated configuration will be written.
List of paths to filter when scanning for Terragrunt configurations. Only directories matching these paths will be processed.
List of HCL file patterns to identify as project files (e.g.,
["terragrunt.hcl"]).Project Generation Options
Automatically run
digger plan when changes are detected in the project.Automatically merge pull requests when all checks pass.
Create a parent project that encompasses child Terragrunt modules.
Create a Terraform workspace for each generated project.
Automatically generate project names based on the directory structure.
Delimiter used when generating project aliases from directory paths (e.g.,
-, _, /).Create child projects from HCL configurations found within parent directories.
Create child projects from external HCL configurations referenced by the parent.
Use marker files to identify which directories should be treated as projects.
Dependency Options
Ignore Terragrunt
dependency blocks when determining project relationships.Ignore parent
terragrunt.hcl files when parsing configurations.When a project is modified, also trigger dependent projects. Enables cascading changes through the dependency graph.
Use the
depends_on ordering from Terragrunt to determine execution order.Only trigger projects based on directory changes, ignoring dependency relationships.
Execution Options
Enable parallel execution of independent Terragrunt projects.
Group projects by execution order for batched processing.
Default Values
Default Terraform version to use for generated projects.
Default workflow name to assign to generated projects.
Default apply requirements for generated projects (e.g.,
["mergeable"]).GitHub Actions workflow file to use for generated projects.
Preservation Options
Preserve existing workflow configurations when regenerating projects.
Preserve existing project configurations when regenerating.
AWS Configuration
Default AWS role configuration for all generated Terragrunt projects. See AWS Role Configuration.
Default AWS Cognito OIDC configuration for all generated Terragrunt projects. See AWS Cognito OIDC Configuration.

