blob: e2d8764cc2b82b4abc9910e1a19fe7145b2b25c0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
service: cron
provider:
name: aws
runtime: python3.7
region: eu-west-1
memorySize: 128
timeout: 20
iamRoleStatements:
- Effect: "Allow"
Action: "s3:*"
Resource: "arn:aws:s3:::imgs.geshem.space/*"
- Effect: "Allow"
Action: "s3:*"
Resource: "arn:aws:s3:::imgs.geshem.space"
functions:
update:
handler: handler.update
events:
- schedule: rate(1 minute)
|