Planned steps and rebuild notes
Planned manual steps (rows to add when they are built)
| Step | Hand action |
|---|---|
| Cleanup (k) | delete the Bootstrap-Admin permission set (DQ-21) |
Rebuild notes (found while writing this list; not yet tried)
The environment was built in a different order from the one above, so these have not been exercised. A rebuild drill would prove them.
- Pipeline parameters and the foundation need each other.
hkb-pipeline-paramstakes the foundation's key ARN, and the foundation reads account IDs from those parameters.params-planwrites a placeholder key the first time, and H-8.5 replaces it. - The foundation's roles need
hkb-pipeline-boundaryin Shared Services, but thehkb-baseline-iamStackSet that delivers it runs in the pipeline, after the foundation. A first build needs the boundary in Shared Services before H-8.4. Today it would mean a temporary copy that the StackSet later takes over. This is an open gap: it needs a design ruling before any rebuild. - The catalog in master needs every account, so the policy stacks that read it (H-5.6 to H-5.8) come after the vends in a rebuild. On Day 0 they took the root ID directly.
- Not carried into
scripts/hand/: the operator scripts that were one-off history rather than rebuild steps. They covered proofs and their cleanup (the SCP and CalledVia proofs, the declarative-policy probe, root-audit proof (b)), status and wait helpers, recoveries from failed creates, and deletions of stacks and roles that no longer exist (hkb-master-deployer,hkb-org-delegation-policy,hkb-pipeline-cfn-scp). Their outcomes are recorded inDECISIONS.mdand the Build Plan. - A pipeline stage whose action roles are new must land after those roles exist. CodePipeline checks, when SelfUpdate saves a definition, that
hkb-pipeline-cfn-selfmay pass every action and service role and that the orchestrator may assume each action role. A role the StackSets stage creates doesn't exist yet, so the stage that names it fails SelfUpdate (5.5, #115 and #118). Land the StackSet first and let one run reach StackSets, then add the stage. A merge that changes the definition also cancels its own run ("Pipeline definition was updated"), so release the pipeline once afterwards. A new cross-account deploy role also needs adding to the foundation's artifact key policy and artifact bucket policy, or its first action fails ons3:GetObject(5.5, #129).
Page information
- Owner
- Platform Engineering
- Status
- current Current: generated from the templates and records in the repository at this build.
- Generated from
docs/runbooks/hand-steps.md- Linked from
- Rebuild from zero
- Plain markdown
- /wiki/rebuild/notes/index.md