Management accountorganization · trail · budgets
Test accountbaseline stack
Prod accountbaseline stack
/foundation/ parameters
Applicationsread zone and identity values from SSM
What it manages
- Service control policies and an organization CloudTrail trail
- Budgets and cost anomaly detection across every account
- GitHub OIDC deployment roles for each application repository
- Hosted zones for
nathanreed.devandtest.nathanreed.dev - SSM parameters under
/foundation/that applications read at deploy time
Key decisions
- One OIDC role per repository and account. Each role trusts only its repository’s immutable OIDC subject and can only assume the CDK bootstrap roles, so no AWS keys are stored in GitHub.
- Guardrails on the workloads organizational unit. Service control policies deny leaving the organization, changing the trail, root user actions, and actions outside
us-east-1other than global services. - A small contract for applications. Applications depend on a handful of SSM parameters, not on another repository’s stacks.
- Decisions are recorded as ADRs in the repository.
Stack
- AWS CDK
- TypeScript
- AWS Organizations
- IAM Identity Center
- CloudTrail
- Route 53
- GitHub Actions