StackSets
The baselines every member account carries are service-managed StackSets, created from Shared Services as the StackSets delegated administrator and deployed by the platform pipeline's StackSets stage. 10 are defined.
Across the organization
Shared Services deploys each StackSet to the OUs it targets. 4 reach every member account; the rest go only where their resources belong.
Common settings
Every StackSet here uses SERVICE_MANAGED permissions, called as DELEGATED_ADMIN from Shared Services; managed execution on, so operations queue instead of failing on each other. Each instance template lives in baseline/; pipeline/scripts/build_stacksets.py wraps it into the StackSet template the pipeline deploys, and CI fails when the two differ.
StackSets
| StackSet | What it deploys | Targets | Regions | Auto-deploy |
|---|---|---|---|---|
hkb-baseline-account | Account settings in every member account. | Every member OU | us-east-1 | on |
hkb-baseline-catalog | The Parameter Store catalog. | Security OU, SDLC OU, Prod OU, Sandbox OU | us-east-1 | on |
hkb-baseline-detection-test | The monthly GuardDuty detection test in hkb-sandbox. | Sandbox OU | us-east-1 | on |
hkb-baseline-events | Security event forwarding in every member account and both governed Regions. | Every member OU | us-east-1, us-west-2 | on |
hkb-baseline-iam | The permissions boundaries hkb-pipeline-boundary and hkb-workload-boundary in every member account, and the site deploy roles hkb-pipeline-site, hkb-pipeline-cfn-site and hkb-pipeline-site-sync in Sandbox, Dev and Prod, and the Security deploy roles hkb-pipeline-security and hkb-pipeline-cfn-security, and the tools deploy roles hkb-pipeline-tools and hkb-pipeline-cfn-tools in Security. | Every member OU | us-east-1 | on |
hkb-baseline-network | The VPC tier's deploy roles hkb-pipeline-network and hkb-pipeline-cfn-network under hkb-network-boundary, in Sandbox, Dev and Prod. | SDLC OU, Prod OU, Sandbox OU | us-east-1 | on |
hkb-baseline-scanner | Prowler's read-only scanner role hkb-scanner under hkb-scanner-boundary in every member account, taken on only by hkb-tool-prowler in Security, and Security Hub accepting Prowler's findings in both governed Regions. | Every member OU | us-east-1, us-west-2 | on |
hkb-baseline-site-cutoff | The site cost cutoff in hkb-prod. | Prod OU | us-east-1 | on |
hkb-baseline-site-traffic | The daily traffic job in hkb-prod. | Prod OU | us-east-1 | on |
hkb-pipeline-noop | No-op service-managed StackSet proving the pipeline StackSets path. | SDLC OU | us-east-1 | off |
With auto-deploy on, a StackSet reaches a new account as soon as it joins a target OU, and its stacks are removed when the account leaves. The management account takes none of them: StackSets can't reach it, so its own stacks are reviewed change sets run by hand.
Sources
- Templates and scripts:
pipeline/hkb-stacksets-*.yaml,baseline/,pipeline/scripts/build_stacksets.py
Page information
- Owner
- Platform Engineering
- Status
- current Current: generated from the templates and records in the repository at this build.
- Generated from
pipeline- Linked from
- Shared Services, hkb-pipeline-main, Traffic job, Cost cutoff, Detection test