-
Notifications
You must be signed in to change notification settings - Fork 569
Open
Description
While include_patterns is mostly working after #2430... I noticed that it only functions properly if at least one project has a change within it.
NOTE: This may only impact blocks with terragrunt: true
My digger.yml contains:
generate_projects:
blocks:
# terraform/live/{env}/{region}/{project}
- include: "terraform/live/*/*/**"
exclude: "**/.terraform/**"
root_dir: "terraform/live/"
terragrunt: true
workflow: "default"
workflow_file: digger-workflow.yml
include_patterns:
- terraform/modules/**
- digger.ymlThe behavior I am seeing:
-
Case 1: Modify a file within a project but NOT any files that match any
include_patternspatterns:- ✅ The single project which contains the modification is planned
-
Case 2: Modify a file within a project AND a files that matches an
include_patternspattern- ✅ All projects are planned
-
Case 3: Modify a file that matches an
include_patternspattern, but DO NOT modify any files within any projects directly- ❌ No projects are planned
Additional context on previous bug in this issue: #2383
Metadata
Metadata
Assignees
Labels
No labels