Skip to content

Commit

Permalink
Python: Update runtimes in cross-service examples using 3.7 (#5520)
Browse files Browse the repository at this point in the history
Update unsupported runtimes for Python cross-service examples.
  • Loading branch information
rlhagerm authored and ford-at-aws committed Dec 15, 2023
1 parent 371c80f commit c31f8c8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion python/cross_service/apigateway_websocket_chat/setup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ Resources:
table_name:
Ref: docexamplewebsocketchat902A2E60
Handler: lambda_chat.lambda_handler
Runtime: python3.7
Runtime: python3.11
DependsOn:
- docexampleapigatewaywebsocketchatDefaultPolicyDC1046A1
- docexampleapigatewaywebsocketchatE8890FEB
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ Resources:
ZipFile: |
import json
import boto3
import botocore.vendored.requests.packages.urllib3 as urllib3
import urllib3
import io
Expand Down Expand Up @@ -118,7 +118,7 @@ Resources:
Timeout: 35
MemorySize: 128
Role: !GetAtt lambdaIAMRole.Arn
Runtime: python3.7
Runtime: python3.11

lambdaApiGatewayInvoke:
Type: AWS::Lambda::Permission
Expand Down
2 changes: 1 addition & 1 deletion python/cross_service/stepfunctions_messenger/setup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ Resources:
- docexamplestepfunctionslambdamessagesroleA963E816
- Arn
Handler: index.lambda_handler
Runtime: python3.7
Runtime: python3.11
DependsOn:
- docexamplestepfunctionslambdamessagesroleDefaultPolicy2726D8C5
- docexamplestepfunctionslambdamessagesroleA963E816
Expand Down

0 comments on commit c31f8c8

Please sign in to comment.