-
Notifications
You must be signed in to change notification settings - Fork 1k
New serverless pattern - lambda-durablefunction-typescript #2892
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
base: main
Are you sure you want to change the base?
New serverless pattern - lambda-durablefunction-typescript #2892
Conversation
|
Hi @jlosaws I started testing this pattern and the deployment fails with the following error: Also, the project should be written in one of the supported IaC frameworks - SAM, Terraform, CDK, etc. |
|
Let me update it to SAM. SAM wasn't available when it was originally written, but I believe we support it directly now. |
|
@ellisms - Published updated IaC with SAM. Docker to ECR and .zip files to S3 for Lambda FN and Layers remained in bash/CLI. I updated the README to reflect updates and provided manual instructions if they want to manually deploy the docker image/zip files and then run SAM. |
|
Thanks @jlosaws. A few things before I start the in depth review:
|
|
|
Is there a particular reason to create the layers instead of just a single zip file? SAM will build all the dependencies into a ZIP, and that eliminates the need for the layers and S3. My recommendation is to leverage SAM for the building/packaging into a single zip and remove all of the Lambda and S3 work in the script. I think you still need the script for the Agent build, and you can still run the sam build && sam deploy commands there too. |
Initial commit of new durable function pattern using typescript. Demonstrates checkpointing, parallel and waitforcallback checkpoints and integrates with Amazon Bedrock AgentCore
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.