Created
September 4, 2019 19:12
-
-
Save andrewm4894/aa98b3fad0b4b001ab85719b88b7878b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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