mirror of
https://github.com/serverless/serverless.git
synced 2026-01-18 14:58:43 +00:00
Copied the pattern from the NodeJS documentation. Hopefully it all links up nicely. Issue(s): None
24 lines
425 B
YAML
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
|