Skip to content
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 aws-python-rest-api/handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

def hello(event, context):
body = {
"message": "Go Serverless v2.0! Your function executed successfully!",
"message": "Go Serverless v3.0! Your function executed successfully!",
"input": event,
}

Expand Down
5 changes: 2 additions & 3 deletions aws-python-rest-api/serverless.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
service: aws-python-rest-api

frameworkVersion: '2'
frameworkVersion: '3'


provider:
name: aws
runtime: python3.8
lambdaHashingVersion: '20201221'
runtime: python3.9

functions:
hello:
Expand Down