Skip to content
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

Update python and framework version for aws-python-rest-api example #726

Merged
merged 1 commit into from
Dec 7, 2022
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
feat: Update python and framework version
  • Loading branch information
pgrzesik committed Dec 6, 2022
commit 6d0be6fd57965f8a16acd2cff946d41f57fc9127
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