Skip to content

Feature/cdk migration #1102

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 66 commits into from
Aug 18, 2025
Merged

Feature/cdk migration #1102

merged 66 commits into from
Aug 18, 2025

Conversation

tvhees
Copy link
Collaborator

@tvhees tvhees commented Aug 5, 2025

Major overhaul of the template.

  • CDK replacing Serverless Framework
  • Migrate to Nx v21 and typescript/yarn workspaces setup
  • Default application in @applications/core
  • New cdk-service generator
  • Scripts and Nx commands to ease use on playground account
    • SSM parameter creation
    • Deployment or whole application or individual stacks
  • Updated deployment pipeline for bitbucket
  • cdk-utils lib with defaults for commonly used constructs (lambda, step functions, S3 buckets, SSM env parameters)
  • CDK-nag aspect, lambda bundle analyzer

tvhees added 30 commits June 18, 2025 17:52
…ge build workflow

The test task fails with no tests for a new service, and we generate the test library with no test runner. No reason to run the test task here.
@tvhees
Copy link
Collaborator Author

tvhees commented Aug 17, 2025

@TheOrangePuff @AdamJHall @kai-nguyen-aligent ready for review again!

I made a lot of changes once again.. the most important file is applications/core/bin/main.ts. This now mostly uses property injection to set defaults per Stage, let me know what you think.

I also migrated to Kai's store-parameters library for SSM parameter manage, works very nicely.

@toddhainsworth
Copy link
Member

Looking good, the injectors are a really nice addition and I'm quite fond of the documentation updates you've made 🙌

Copy link
Contributor

@kai-nguyen-aligent kai-nguyen-aligent left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Let's ship it 🚀

- Remove duplicate parameters section
- Remove client references
- Add note about parameters csv in architecture readme
-  Update runtime versions in tests
- Add hint about updating snapshots to snapshot tests
- Remove duplicate migration notes
- Update description of importing services in to application
- Move aws-cdk-lib to devDependencies
- Remove references to LambdaFunction construct
- Standardise testing of lambdas in cdk-utils
- Add `yarn audit` command for a clean static analysis of everything
- Removed analyse function script
@tvhees
Copy link
Collaborator Author

tvhees commented Aug 18, 2025

@kai-nguyen-aligent @toddhainsworth one more round 👀

Copy link
Member

@toddhainsworth toddhainsworth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Niiiiiiiiice!

Copy link
Contributor

@kai-nguyen-aligent kai-nguyen-aligent left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@tvhees tvhees dismissed TheOrangePuff’s stale review August 18, 2025 06:27

Devops is light on capacity. I deleted the aspect Akido was raising warnings about, and have rearchitected the app so that Stage names aren't hard coded.

@tvhees tvhees merged commit 9a71d91 into main Aug 18, 2025
1 check passed
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.

5 participants