Skip to content

Commit ebb0205

Browse files
LADV lambda to py3.12
Python runtime given throws an exception when creating the lambda function (`InvalidParameterValueException`). Update to the new runtime version. Co-authored-by: Sean Shriver <[email protected]>
1 parent 0e67033 commit ebb0205

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/design-patterns/ex8streams/Step3.en.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Now, run the following command to create the Lambda function.
2222
```bash
2323
aws lambda create-function \
2424
--function-name ddbreplica_lambda --zip-file fileb://ddbreplica_lambda.zip \
25-
--handler ddbreplica_lambda.lambda_handler --timeout 60 --runtime python3.10 \
25+
--handler ddbreplica_lambda.lambda_handler --timeout 60 --runtime python3.12 \
2626
--description "Sample lambda function for dynamodb streams" \
2727
--role $(cat ~/workshop/ddb-replication-role-arn.txt)
2828
```

0 commit comments

Comments
 (0)