Skip to content

Python 3.10 update - LADV and LEDA #120

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 1 commit into from
Sep 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion content/design-patterns/ex8streams/Step3.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
```
8 changes: 4 additions & 4 deletions event-driven/event-driven-cfn.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"
Expand All @@ -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"
Expand All @@ -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"
Expand Down
Loading