-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathzappa_settings.json
More file actions
60 lines (58 loc) · 1.47 KB
/
zappa_settings.json
File metadata and controls
60 lines (58 loc) · 1.47 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
{
"prod": {
"aws_region": "us-east-1",
"django_settings": "parentorb.settings_prod",
"profile_name": "handyfunapps",
"s3_bucket": "zappa-parentorb",
"exclude": [
"client"
],
"certificate_arn": "arn:aws:acm:us-east-1:763914776679:certificate/16e61316-019d-4313-890b-47d459870de3",
"domain": "parentorb.com",
"vpc_config": {
"SubnetIds": [
"subnet-be7005f6","subnet-00d6625a","subnet-314d5854","subnet-148d3138","subnet-04c1f038"
],
"SecurityGroupIds": [
"sg-267daf57"
]
},
"extra_permissions": [{
"Effect": "Allow",
"Action": ["lex:PostText"],
"Resource": "*"
}]
},
"devbot": {
"aws_region": "us-east-1",
"profile_name": "handyfunapps",
"lambda_handler": "bot_app.handler",
"s3_bucket": "zappa-parentorb",
"exclude": [
"client"
],
"apigateway_enabled": false,
"callbacks": {
"post": "zappa_callbacks.set_lex_permission_dev"
},
"vpc_config": {
"SubnetIds": [
"subnet-be7005f6","subnet-00d6625a","subnet-314d5854","subnet-148d3138","subnet-04c1f038"
],
"SecurityGroupIds": [
"sg-267daf57"
]
}
,
"events": [
{
"function": "bot.jobs.schedule_all_users",
"expression": "cron(0 20 * * ? *)" // every day 18:00 utc
},
{
"function": "bot.jobs.process_all_actions",
"expression": "rate(1 minute)" // every minute
}
]
}
}