Repository navigation
feat(deploy): wire network stack into ground deploy; unify deploy phases - #28
Merged
Merged
Conversation
The deploy-wiring follow-up from ADR 0001. The network foundation was dry-run- visible only, and the live deploy hardcoded brittle phase numbering ([1/2] then [3/4]/[4/4] across an ad-hoc block + a loop). - All five stacks (logging -> security -> accounts -> identity -> network) now deploy through one ordered loop with consistent [i/5] numbering. Order matters: network rides on the org structure (its endpoint policy needs the discovered OrgId). - fetchOrgID (organizations:DescribeOrganization) fills the network stack's OrgId parameter at deploy time, mirroring how the accounts stack fills OrgRootId — so the org-conditioned VPC endpoints deploy without a manual parameter. No behavior change to the templates; this is the orchestration that makes the network stack actually deploy. Full suite green; dry-run lists all five stacks. Refs: #11, #10
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.
The deploy-wiring follow-up flagged across ADR 0001 steps 2–4. The network foundation was
--dry-run-visible only, and the live deploy hardcoded brittle phase numbering ([1/2]then[3/4]/[4/4]split across an ad-hoc block and a loop).What changed
[i/5]numbering. Order matters: the network stack rides on the org structure (its endpoint policy needs the discoveredOrgId), so it deploys last.fetchOrgID(organizations:DescribeOrganization) auto-fills the network stack'sOrgIdparameter at deploy time — mirroring how the accounts stack fillsOrgRootId— so the org-conditioned VPC endpoints deploy without a manual parameter. (The deployer passes no CFN parameters, so injecting aDefaultis how ground threads discovered values into templates.)Not a template change
The stack templates are untouched — this is purely the orchestration that makes the network stack actually deploy (and de-brittles the existing phase numbering). Full ground suite: 0 failures;
--dry-runlists all five stacks.With this, the network foundation (ADR 0001) is complete and deployed by
ground deploy, not just generated. Refs: #11, #10.