Skip to content

docs: tune README.md#1

Open
rti wants to merge 25 commits intomainfrom
docs/readme-tuning
Open

docs: tune README.md#1
rti wants to merge 25 commits intomainfrom
docs/readme-tuning

Conversation

@rti
Copy link
Copy Markdown

@rti 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

MartinNowak and others added 24 commits March 21, 2026 11:06
- 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
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
- to refresh all states
- passing along updated outputs
- make only warns by default
@MartinNowak MartinNowak force-pushed the main branch 2 times, most recently from befff38 to 2ed0076 Compare March 24, 2026 15:25
@rti rti force-pushed the docs/readme-tuning branch from 9625f81 to 6473c16 Compare March 24, 2026 15:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants