docs/src/data/experiments/mark-many-as-read.mdx
import Since from '@components/Since.astro'; import Before from '@components/Before.astro';
Mark many files as read in one step, so reading-based filter expressions cascade changes from shared files to the units that consume them.
mark-many-as-read - What it doesterraform block points at a local module source, Terragrunt walks that directory and records every *.tf, *.tf.json, *.hcl, *.tofu, and *.tofu.json file as read for the unit. Non-source files such as README.md are skipped. Remote sources (Git, registry, S3, etc.) are not walked.mark_glob_as_read(pattern) HCL function. It expands a glob using gobwas/glob syntax and marks every matching file as read, returning the list of absolute paths that matched. <Before version="1.1.0">Without the experiment enabled, calling the function returns an error. </Before>See the HCL reference for pattern syntax and examples.Both behaviors feed the same reading tracker that powers the reading= filter attribute, so a change to a local module file or a globbed configuration file is picked up by --filter 'reading=<path>' and matches every unit that reads it.
terragrunt run --all --experiment mark-many-as-read -- plan
mark-many-as-read - How to provide feedbackmark-many-as-read - Criteria for stabilizationTo transition the mark-many-as-read feature to a stable release, the following were completed:
** with a wildcard trailing segment.mark_glob_as_read, and --filter 'reading=...'.