Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
service: serverless-learn-lambda
provider:
name: aws
runtime: python3.6
region: us-west-2
stage: dev
role: arn:aws:iam::XXX:role/serverless-lambda
functions:
myCron:
handler: handler.run
events:
- schedule: rate(1 hour)
layers:
- arn:aws:lambda:us-west-2:XXX:layer:my-aws-python-packages:1
package:
exclude:
- __pycache__/**
- "*.ipynb"
- .ipynb_checkpoints/**
- "*.md"
- venv/**
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.