first commit - lambda-durable-functions-nodejs-sam#2935
first commit - lambda-durable-functions-nodejs-sam#2935aws-tam-sethums wants to merge 2 commits intoaws-samples:mainfrom
Conversation
| { | ||
| "name": "nodejs-durable-order-processor", | ||
| "version": "1.0.0", | ||
| "description": "AWS Lambda Durable Functions - Node.js Orchestrator with structured logging and error handling", |
There was a problem hiding this comment.
| "description": "AWS Lambda Durable Functions - Node.js Orchestrator with structured logging and error handling", | |
| "description": "AWS Lambda durable functions - Node.js orchestrator with structured logging and error handling", |
| @@ -0,0 +1,63 @@ | |||
| { | |||
| "title": "AWS Lambda Durable Functions with Node.js", | |||
There was a problem hiding this comment.
| "title": "AWS Lambda Durable Functions with Node.js", | |
| "title": "AWS Lambda durable functions with Node.js", |
There was a problem hiding this comment.
Please make sure to always use the correct capitalization
| @@ -0,0 +1,63 @@ | |||
| { | |||
| "title": "AWS Lambda Durable Functions with Node.js", | |||
| "description": "Demonstrates AWS Lambda Durable Functions using Node.js with automatic checkpointing, durable waits, and fault tolerance for long-running workflows.", | |||
There was a problem hiding this comment.
| "description": "Demonstrates AWS Lambda Durable Functions using Node.js with automatic checkpointing, durable waits, and fault tolerance for long-running workflows.", | |
| "description": "Demonstrates AWS Lambda durable functions using Node.js with automatic checkpointing, durable waits, and fault tolerance for long-running workflows.", |
| }, | ||
| "cleanup": { | ||
| "text": [ | ||
| "Delete the stack: sam delete --stack-name durable-functions-demo" |
There was a problem hiding this comment.
| "Delete the stack: sam delete --stack-name durable-functions-demo" | |
| "Delete the stack: <code>sam delete --stack-name durable-functions-demo</code>" |
| @@ -0,0 +1,279 @@ | |||
| # AWS Lambda Durable Functions with Node.js | |||
There was a problem hiding this comment.
| # AWS Lambda Durable Functions with Node.js | |
| # AWS Lambda durable functions with Node.js |
There was a problem hiding this comment.
Please make sure to always use the correct capitalization
| @@ -0,0 +1,112 @@ | |||
| AWSTemplateFormatVersion: '2010-09-09' | |||
| Transform: AWS::Serverless-2016-10-31 | |||
| Description: AWS Lambda Durable Functions - Node.js Order Processing Demo | |||
There was a problem hiding this comment.
Could you please clarify
|
|
||
| Globals: | ||
| Function: | ||
| Runtime: nodejs22.x |
There was a problem hiding this comment.
why not the latest runtime?
There was a problem hiding this comment.
used Nodejs 24 which is the latest
| Globals: | ||
| Function: | ||
| Runtime: nodejs22.x | ||
| Timeout: 900 |
There was a problem hiding this comment.
Is such a long timeout necessary?
There was a problem hiding this comment.
Reduced the timeout limit
| Timeout: 900 | ||
| MemorySize: 512 | ||
| Architectures: | ||
| - x86_64 |
|
|
||
| Resources: | ||
| # IAM Role for Lambda Functions | ||
| LambdaDurableExecutionRole: |
There was a problem hiding this comment.
These permissions are overly broad. Scope them to the relevant resources
There was a problem hiding this comment.
changed to Lambda Durable Managed Policy
|
Hi @aws-tam-sethums any update on this? |
|
Made changes as per the suggestions - 822e372 |
Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.