As-built record
The Shared Services account as its repository document records it: the scope and operating principles, then the current state, row by row. It is quoted as written; IDs are left out.
Scope and current state
Shared Services is the organization's deploy tier. It runs the one CodePipeline that builds and deploys everything outside master, and it is the CloudFormation StackSets delegated administrator, so the org-wide baselines are owned here rather than in the management account (AWS's guidance is to delegate everything delegable away from master).
It reaches the workload accounts only through named roles they trust, and it reaches nothing in master: the one master role that trusts another account is the read-only Prowler scanner, and it trusts only hkb-tool-prowler in Security (DQ-24, ADR-0037, DQ-148). The pipeline can update itself, but not the foundation that holds its own key, bucket and roles, so it cannot widen its own permissions.
No workloads or application data live here. The pipeline's artifacts are build outputs of the public repository content.
| Account | Vended 2026-10-04 through Control Tower Account Factory (hkb-org-account-shared-services in master) into the SharedServices OU. SCPs attached directly: hkb-scp-deny-root (SCP-09) and FullAWSAccess; the root and OU policies apply through inheritance. Billing, operations and security alternate contacts set. |
|---|---|
| Delegated administration | CloudFormation StackSets (member.org.stacksets.cloudformation.amazonaws.com), registered 2026-10-04. |
| Pipelines | Two CodePipeline V2 pipelines (QUEUED), both sourcing main through the CodeConnections connection hkb-github and both defined in the hkb-pipeline stack (step 3.14, DQ-82, ADR-0043). hkb-pipeline-main (platform): Source, Validate, SelfUpdate, StackSets, Security; runs on every change except site/**, workloads/** and docs/**. hkb-pipeline-site: Source, Validate, Sandbox, Dev, Prod; runs on site/** and workloads/** (DQ-101). No manual approvals until Cleanup (l) (DQ-23). |
| CodeBuild | hkb-pipeline-validate (cfn-lint, cfn-guard with HKB rules blocking and the Guard Rules Registry advisory, guard tests, gitleaks, Access Analyzer ValidatePolicy, then the site build in draft mode, DQ-70) and hkb-pipeline-site-sync (assumes hkb-pipeline-site-sync in a site account, syncs the built site and clears the CloudFront cache unless the distribution is off, DQ-59, DQ-68). |
| StackSets | hkb-baseline-account (6 instances, us-east-1: every member account; EBS default encryption, the password policy and the SSM.6 and SSM.7 settings, both Regions), hkb-baseline-iam (6, us-east-1: both boundaries, the site deploy roles and the Security deploy roles), hkb-baseline-events (12: every member account in both Regions; the forwarding rules and hkb-events-forwarder), hkb-baseline-catalog (5, us-east-1: every member account except this one, DQ-81), hkb-pipeline-noop (1: Dev; the Stage 2 proof). All SERVICE_MANAGED, all instances SUCCEEDED. Control Tower's own AWSControlTowerExecutionRole StackSet (2 instances) is also listed here. |
| Stacks (us-east-1) | hkb-pipeline-params (the source of the Parameter Store catalog, applied by hand; DQ-81), hkb-pipeline-foundation (applied by hand), hkb-pipeline (self-updated by the pipeline), the StackSet stacks hkb-stacksets-baseline-account, -iam, -events, -catalog, -network, -scanner, -site-cutoff, -site-traffic and -detection-test, and hkb-stacksets-noop; plus Control Tower's baseline stack and this account's StackSet instances. Termination protection is on for every top-level hkb-* stack (H-13.3, 2026-11-09); StackSet instances and Control Tower's stacks can't take it and are accepted (DQ-156). |
| IAM roles (HKB) | hkb-pipeline-orchestrator (the platform pipeline's service role), hkb-pipeline-site-orchestrator (the site pipeline's; the only principal hkb-pipeline-site trusts, DQ-103), hkb-pipeline-tools-orchestrator (the tools pipeline's, DQ-127), hkb-pipeline-validate, hkb-pipeline-self and hkb-pipeline-cfn-self (SelfUpdate), hkb-pipeline-stacksets and hkb-pipeline-cfn-stacksets (StackSets), hkb-pipeline-sync (the site sync), hkb-baseline-account-settings, hkb-events-forwarder. All carry hkb-pipeline-boundary (GR-02). hkb-scanner (Prowler's read role) as in every account. No IAM users. |
| Parameters | 19 /hkb/ parameters in us-east-1 (re-read 2026-11-06), owned by hkb-pipeline-params: the catalog source the other accounts receive through hkb-baseline-catalog. |
| Identity Center | HKB-ReadOnly and HKB-PipelineApprover are assigned here (the approver role waits for Cleanup (l)). |
| Encryption and storage | One customer managed KMS key (alias/hkb-pipeline, "hkb pipeline artifacts and notifications") encrypting the versioned artifact bucket hkb-pipeline-artifacts-<account> and the notifications topic. |
| Notifications | SNS hkb-pipeline-events fed by EventBridge rules hkb-pipeline-approval and hkb-pipeline-failed. |
| Account baseline | Account-level S3 Block Public Access on (the Organizations S3 policy, DQ-38), EBS default encryption on in both governed Regions, password policy (14 characters, symbols, 90 days, 24 remembered) from hkb-baseline-account. SSM document public sharing is blocked (SSM.7) and Automation logs go to CloudWatch (SSM.6) in both Regions (SF-01, 2026-11-09). VPC Block Public Access is block-bidirectional in both Regions, set by the hkb-baseline-account custom resource in any Region without a VPC (DQ-159 A, S7-07). |
| Networking | None. Control Tower's Account Factory VPC was removed from both Regions on 2026-11-09 (DQ-154, ADR-0053). No NAT gateways, Elastic IPs or instances. |
| AWS Config | Control Tower's aws-controltower-BaselineConfigRecorder is recording in both Regions since 2026-11-06 (step 7.1), last status SUCCESS. Security Hub's FSBP v1.0.0 and CIS 5.0.0 are READY in both Regions, from the central policy (DQ-143). |
| Inspector | EC2 and ECR scanning on, both Regions, from Security as delegated admin (H-13.9, S7-12). Lambda scanning off on budget (DQ-155). |
| Macie | On in both Regions, as a member of Security's Macie administration (H-13.10, S7-13). It inventories each bucket and watches its access settings and encryption. Automated sensitive data discovery is off, risk-accepted on budget ($1 a GB inspected, DQ-155), so it doesn't read the objects. |
| Cost | Usage before credits: $13.74 in October 2026 and $3.57 from 2026-11-01 to 11-05. The organization's month is checked by INV-08 (DQ-133); the model is docs/loop/COST-MODEL.md. Most of it is CodePipeline and CodeBuild minutes (DQ-133). |
Page information
- Owner
- Platform Engineering
- Status
- current Current: generated from the templates and records in the repository at this build.
- Generated from
HKB Shared Services Account.md- Linked from
- Shared Services