The stages run top to bottom and stop at the first failure. Each deploy stage assumes a role in the account it reaches.
Configuration
Setting
Value
Type
CodePipeline V2, queued executions
Service role
hkb-pipeline-site-orchestrator, in Shared Services
Trigger
A push to the main branch through CodeConnections, for changes under site/**, workloads/**, controls/**, docs/**
Artifacts
hkb-pipeline-artifacts-<account>, encrypted with the pipeline's KMS key
Stages
5
Stages and actions
Each action assumes the role named for it. A role in another account trusts only this pipeline's service role; trust and policy text as deployed are on the pipeline roles page.
#
Stage
Actions
1
Source
Source: the repository through CodeConnections, as the pipeline's service role
2
Validate
Validate: CodeBuild project hkb-pipeline-validate, under the project's own service role
3
Sandbox
Site: CloudFormation change set on hkb-site, planned, then executed, as hkb-pipeline-site in Sandbox, CloudFormation as hkb-pipeline-cfn-site
SyncSite: CodeBuild project hkb-pipeline-site-sync, under the project's own service role
4
Dev
Site: CloudFormation change set on hkb-site, planned, then executed, as hkb-pipeline-site in Dev, CloudFormation as hkb-pipeline-cfn-site
SyncSite: CodeBuild project hkb-pipeline-site-sync, under the project's own service role
5
Prod
Dns: CloudFormation change set on hkb-dns, planned, then executed, as hkb-pipeline-site in Prod, CloudFormation as hkb-pipeline-cfn-site
Site: CloudFormation change set on hkb-site, planned, then executed, as hkb-pipeline-site in Prod, CloudFormation as hkb-pipeline-cfn-site
SyncSite: CodeBuild project hkb-pipeline-site-sync, under the project's own service role
Sources
Templates and scripts: pipeline/hkb-pipeline.yaml, pipeline/hkb-pipeline-foundation.yaml