Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
33 lines (28 sloc) 849 Bytes
service: pycatj-serverless # NOTE: Don't put the word "google" in here
provider:
name: google
stage: dev
runtime: python37
region: us-central1
project: pycatj
# The GCF credentials can be a little tricky to set up. Luckily we've documented this for you here:
# https://serverless.com/framework/docs/providers/google/guide/credentials/
#
# the path to the credentials file needs to be absolute
credentials: ~/.gcloud/pycatj-d6af60eda976.json
memorySize: 128
timeout: 10s
plugins:
- serverless-google-cloudfunctions
# needs more granular excluding in production as only the serverless provider npm
# package should be excluded (and not the whole node_modules directory)
package:
exclude:
- node_modules/**
- .gitignore
- .git/**
functions:
pycatjify:
handler: pycatjify
events:
- http: path
You can’t perform that action at this time.