diff --git a/content/design-patterns/ex8streams/Step3.en.md b/content/design-patterns/ex8streams/Step3.en.md index 35954dff..836a1d7f 100644 --- a/content/design-patterns/ex8streams/Step3.en.md +++ b/content/design-patterns/ex8streams/Step3.en.md @@ -22,7 +22,7 @@ Now, run the following command to create the Lambda function. ```bash aws lambda create-function \ --function-name ddbreplica_lambda --zip-file fileb://ddbreplica_lambda.zip \ ---handler ddbreplica_lambda.lambda_handler --timeout 60 --runtime python3.7 \ +--handler ddbreplica_lambda.lambda_handler --timeout 60 --runtime python3.10 \ --description "Sample lambda function for dynamodb streams" \ --role $(cat ~/workshop/ddb-replication-role-arn.txt) ``` diff --git a/event-driven/event-driven-cfn.yaml b/event-driven/event-driven-cfn.yaml index fa137fc9..5a80704b 100644 --- a/event-driven/event-driven-cfn.yaml +++ b/event-driven/event-driven-cfn.yaml @@ -82,7 +82,7 @@ Resources: Handler: "lambda_function.lambda_handler" MemorySize: 256 Role: !Sub "arn:aws:iam::${AWS::AccountId}:role/StateLambdaRole" - Runtime: "python3.8" + Runtime: "python3.10" Timeout: 180 TracingConfig: Mode: "PassThrough" @@ -99,7 +99,7 @@ Resources: Handler: "lambda_function.lambda_handler" MemorySize: 256 Role: !Sub "arn:aws:iam::${AWS::AccountId}:role/MapLambdaRole" - Runtime: "python3.8" + Runtime: "python3.10" Timeout: 60 TracingConfig: Mode: "PassThrough" @@ -116,7 +116,7 @@ Resources: Handler: "lambda_function.lambda_handler" MemorySize: 256 Role: !Sub "arn:aws:iam::${AWS::AccountId}:role/ReduceLambdaRole" - Runtime: "python3.8" + Runtime: "python3.10" Timeout: 30 TracingConfig: Mode: "PassThrough" @@ -133,7 +133,7 @@ Resources: Handler: "lambda_function.lambda_handler" MemorySize: 256 Role: !Sub "arn:aws:iam::${AWS::AccountId}:role/GeneratorLambdaRole" - Runtime: "python3.8" + Runtime: "python3.10" Timeout: 55 TracingConfig: Mode: "PassThrough"