-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathzappa_settings.json
More file actions
70 lines (70 loc) · 2.18 KB
/
zappa_settings.json
File metadata and controls
70 lines (70 loc) · 2.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
{
"prod": {
"app_function": "redash_emailer.aws_lambda",
"aws_region": "us-west-1",
"project_name": "redash-emailer",
"runtime": "python3.12",
"cloudwatch_log_level": "INFO",
"cloudwatch_data_trace": true,
"keep_warm": false,
"log_level": "INFO",
"s3_bucket": "zappa-fmkb1g17t",
"manage_roles": false, // required to specify role_name below
"role_name": "test_python",
"slim_handler": false,
"apigateway_enabled": false,
"vpc_config": {
"SubnetIds": [
"subnet-d8385681"
],
"SecurityGroupIds": [
"sg-c2ee0da5"
]
},
"exclude": [
".git",
".pytest_cache"
],
"events": [
{
"function": "redash_emailer.aws_lambda",
"name": "wednesday-accounting-report",
"expression": "cron(35 14 ? * WED *)",
"kwargs": {
"event_name": "wednesday-accounting-report",
"query_id": "12710",
"to_address": "rsmus-share@moveon.org",
"from_address": "MoveOn Reports <reports-noreply@moveon.org>",
"subject": "MoveOn Braintree disbursements",
"body": "Braintree disbursements in attached CSV."
}
},
{
"function": "redash_emailer.aws_lambda",
"name": "friday-accounting-report",
"expression": "cron(35 14 ? * FRI *)",
"kwargs": {
"event_name": "friday-accounting-report",
"query_id": "12710",
"to_address": "rsmus-share@moveon.org",
"from_address": "MoveOn Reports <reports-noreply@moveon.org>",
"subject": "MoveOn Braintree disbursements",
"body": "Braintree disbursements in attached CSV."
}
},
{
"function": "redash_emailer.aws_lambda",
"name": "monthly-accounting-report",
"expression": "cron(35 14 2 * ? *)",
"kwargs": {
"event_name": "monthly-accounting-report",
"query_id": "12710",
"to_address": "rsmus-share@moveon.org",
"from_address": "MoveOn Reports <reports-noreply@moveon.org>",
"subject": "MoveOn Braintree disbursements",
"body": "Braintree disbursements in attached CSV."
}
}
]
}
}