serverless
Version:
Serverless Framework - Build web, mobile and IoT applications with serverless architectures using AWS Lambda, Azure Functions, Google CloudFunctions & more
24 lines (19 loc) • 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