Open
Conversation
rti
commented
Mar 24, 2026
- a bit more of an intro (how I would describe it)
- removed explicit note that there could be an implementation with another build system
- typo
- workspace dir is per stack+env combination, or am I getting it wrong?
- replaced the word Targetting because it is used in the TF context differently
- with upstream and downstream stacks - testing planning through and only planning downstream from it's state
- to facilitate integrate with the makefile and avoid relative path gymnastics - use per-provider plan modifier and also move path computation into helper methods
replace README
Diff changed .tf/.tfvars files against a git base ref (defaults to
@{upstream}) to determine affected stacks, then expand with transitive
downstreams. Cross-stack deps in gen_deps.sh are now conditional so
upstream stacks that haven't changed are skipped during plan-changed.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- resolved by secondary expansion - this approach indeed seems safer than conditionally generating cross-stack dependencies in the script because the deps.d file could easily be stale otherwise
- error on untracked files in stacks or working directories
When running plan-changed/apply-changed, downstream stacks now check their upstream tfplan.json for output_changes. If all upstream outputs are no-op, the downstream plan is skipped since it would be identical. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- leave instructions on how to use example
- better than make's output synchronization (`-Otarget`) which blocks output e.g. during apply
- cannot yet delete them because downstream stacks read them another time during the final plan phase in apply and expect the same plan values without providing the initial plan to the provider
- sticked to fast defaults
- to refresh all states - passing along updated outputs
- make only warns by default
befff38 to
2ed0076
Compare
ea15338 to
742b7c4
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.