FAST 0-org-setup: what’s the rationale for separate org state bucket vs stage state bucket? #3760
-
|
I’m looking at the default buckets layout:
Can someone share the intent behind using two buckets instead of a single bucket with prefixes for everything?
Happy to open an Issue/PR if there’s an enhancement needed—right now I mainly want to understand the design choice. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Hey, thanks for asking. The current approach evolved organically from before GCS folders were available and we were forced to use one bucket per state file, to now so it's part part of a super-rational plan. What we always enforced is IAM separation, which as you observe we now do via GCS folders. Leaving the org-setup state in its own bucket was mainly a way of expressing the criticality of this stage, and also giving users a practical example on how to use both approaches (separate buckets vs folders). Here too I would go back to our fundamental goal, which is to maintain a toolkit that we expect users to customize and tune to specific requirements. So while we are pretty strict on high level security concerns (the IAM/blast radius segregation here), we tend to prefer providing explicit ways of implementing different patterns. Sorry if this generates some confusion, maybe a note in the org setup README would help users wrap their heads around this better? |
Beta Was this translation helpful? Give feedback.
Hey, thanks for asking. The current approach evolved organically from before GCS folders were available and we were forced to use one bucket per state file, to now so it's part part of a super-rational plan.
What we always enforced is IAM separation, which as you observe we now do via GCS folders. Leaving the org-setup state in its own bucket was mainly a way of expressing the criticality of this stage, and also giving users a practical example on how to use both approaches (separate buckets vs folders).
Here too I would go back to our fundamental goal, which is to maintain a toolkit that we expect users to customize and tune to specific requirements. So while we are pretty strict on high…