Skip to content

feat(deploy): wire network stack into ground deploy; unify deploy phases - #28

Merged
scttfrdmn merged 1 commit into
mainfrom
feat/deploy-wire-network
Jun 13, 2026
Merged

scttfrdmn merged 1 commit into
mainfrom
feat/deploy-wire-network

Conversation

@scttfrdmn

Copy link
Copy Markdown
Contributor

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

  • One ordered deploy loop for all five stacks (logging → security → accounts → identity → network) with consistent [i/5] numbering. Order matters: the network stack rides on the org structure (its endpoint policy needs the discovered OrgId), so it deploys last.
  • fetchOrgID (organizations:DescribeOrganization) auto-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. (The deployer passes no CFN parameters, so injecting a Default is 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-run lists all five stacks.

With this, the network foundation (ADR 0001) is complete and deployed by ground deploy, not just generated. Refs: #11, #10.

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
@scttfrdmn
scttfrdmn merged commit 45c5744 into main Jun 13, 2026
2 checks passed
@scttfrdmn
scttfrdmn deleted the feat/deploy-wire-network branch June 13, 2026 18:25
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.

1 participant