sls3-legacy
Version:
SLS3 Legacy - A fork of Serverless Framework v3
24 lines (19 loc) • 446 B
YAML
service: hello-world # NOTE: Don't put the word "google" in here
provider:
name: google
runtime: nodejs
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: true