Skip to content

Commit 084486f

Browse files
authored
feat: Update aws-python-rest-api (serverless#726)
1 parent 3f83f3c commit 084486f

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

aws-python-rest-api/handler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
def hello(event, context):
55
body = {
6-
"message": "Go Serverless v2.0! Your function executed successfully!",
6+
"message": "Go Serverless v3.0! Your function executed successfully!",
77
"input": event,
88
}
99

aws-python-rest-api/serverless.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
service: aws-python-rest-api
22

3-
frameworkVersion: '2'
3+
frameworkVersion: '3'
44

55

66
provider:
77
name: aws
8-
runtime: python3.8
9-
lambdaHashingVersion: '20201221'
8+
runtime: python3.9
109

1110
functions:
1211
hello:

0 commit comments

Comments
 (0)