github gruntwork-io/terragrunt v0.91.5

2 days ago

🧪 Experiments Updated

filter-flag updated with run support

The --filter flag is now supported on the run command (remember that you must use the filter-flag experiment to try this).

e.g.

# Filter by path with glob patterns
terragrunt run --all --filter 'prod/**' -- plan

# Filter by name
terragrunt run --all --filter 'app*' -- apply

# Exclude specific configurations
terragrunt run --all --filter '!./test/**' -- plan

# Combine filters with intersection (refinement)
terragrunt run --all --filter './prod/** | !name=legacy' -- apply

# Multiple filters with union
terragrunt run --all --filter 'app1' --filter 'app2' -- plan

For more information, see the documentation on Filtering Units.

If you give this feature a try, make sure to share your feedback on the Filter Flag RFC

What's Changed

  • feat: Adding support for --filter flag in run by @yhakbar in #4981
  • docs: Documenting support for --filter in the run command by @yhakbar in #5015
  • chore: fixes for periodically failing tests by @denis256 in #5011

Full Changelog: v0.91.4...v0.91.5

Don't miss a new terragrunt release

NewReleases is sending notifications on new releases.