Skip to content

Chore: [AEA-6520] - Adopt CDK deployment#2549

Draft
tstephen-nhs wants to merge 65 commits intomainfrom
aea-6257-add-cdk-to-ci-release
Draft

Chore: [AEA-6520] - Adopt CDK deployment#2549
tstephen-nhs wants to merge 65 commits intomainfrom
aea-6257-add-cdk-to-ci-release

Conversation

@tstephen-nhs
Copy link
Copy Markdown
Contributor

Summary

  • 🤖 Operational or Infrastructure Change

Details

Following New: [AEA-6257] - scaffold app with CDK this PR adopts CDK deployment for CI and release.
SAM templates are left in place for now.

tstephen-nhs and others added 30 commits April 2, 2026 15:47
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
tstephen-nhs and others added 30 commits April 8, 2026 14:23
CDK PR stack names pfp-cdk-pr-N did not match the pfp-api prefix
expected by deletePrStacks.ts. Rename to pfp-api-pr-N so that the
automated PR stack cleanup works correctly.

Also drop the CDK- prefix from VERSION_NUMBER (PR-N is sufficient
since SAM PR stacks use pfp-pr-N and there is no collision).

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Add parallel CDK deployment pipeline alongside existing SAM deployment.
CDK uses calculateVersionedStackName for zero-downtime rolling deploys.

Changes:
- ci.yml: add cdk_package_code, cdk_release_dev, cdk_release_dev_sandbox,
  cdk_release_qa jobs running alongside existing SAM jobs
- release.yml: add cdk_package_code and cdk_release_* jobs for all
  environments (dev, dev-sandbox, ref, qa, int, sandbox, prod)
- delete_old_cloudformation_stacks.yml: add devcontainer-based
  delete-old-cdk-cloudformation-stacks job using npm run delete-old-pr-stacks;
  remove push:branches:[main] trigger (CDK inline delete handles main stacks)

CDK stack names use pfp-api/pfp-api-sandbox prefix to align with the
existing deleteMainStacks.ts and deletePrStacks.ts scripts.

SAM deployment is retained unchanged for parallel running.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant