Replies: 1 comment
-
Which do you prefer? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Status: Implemented in #2137
Problem
The previous
infra/environments/{env}/structure had issues:Solution
Two distinct stacks with isolated Terraform roots:
Key decisions
Explicit roots over dispatcher — Each
(env, stack)pair gets its own root with isolated state. Avoids the "variable stack" anti-pattern that destroys one stack when switching to another.Providers in env roots only — Modules declare
required_providersfor source resolution; credentials stay centralized in env roots.Local state by default — Zero-friction onboarding. Remote backend templates available in
templates/.Modules must not contain provider blocks — Enforced by CI lint check.
When to use hybrid
Most apps only need the edge stack. Consider hybrid if you specifically need:
If you're not sure, use edge.
Beta Was this translation helpful? Give feedback.
All reactions