kzmshx/Terraform Affected Root Modules
Analyze Terraform module dependencies and find affected root modules
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| root | Root directory to search for Terraform files | no | . |
| root-module-patterns | Glob patterns for root module directories (newline separated) | yes | — |
| exclude-module-patterns | Glob patterns for non-root module directories to exclude (newline separated) | no | — |
| changed-files | Explicit paths to treat as changed (newline separated) | no | — |
| detect-changes | Automatically detect changed files via git diff | no | true |
| base-ref | Base ref for change detection | no | origin/${{ github.base_ref }} |
| head-ref | Head ref for change detection | no | origin/${{ github.head_ref }} |
| output-format | Output format (github or json) | no | github |
| comment-pr | Comment on PR with affected modules | no | true |
Outputs
| name | description |
|---|---|
| affected-modules | Space-separated list of affected root modules |
| affected-modules-json | JSON array of affected modules with details |
| affected-count | Number of affected root modules |
| has-affected-modules | Whether any affected modules were found |
| matrix | GitHub Actions matrix strategy JSON |
| markdown-summary | Markdown summary for PR comment |