Serge Dukic ff67f7a058 Added documentation for GCP Python HelloWorld function
Copied the pattern from the NodeJS documentation. Hopefully it all links
up nicely.

Issue(s): None
2019-02-12 16:50:55 +13:00

24 lines
425 B
YAML

service: hello-world # NOTE: Don't put the word "google" in here
provider:
name: google
runtime: python37
project: my-project
# the path to the credentials file needs to be absolute
credentials: ~/.gcloud/keyfile.json
plugins:
- serverless-google-cloudfunctions
package:
exclude:
- node_modules/**
- .gitignore
- .git/**
functions:
helloWorld:
handler: http
events:
- http: path