-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathzappa_settings.json
53 lines (53 loc) · 1.5 KB
/
zappa_settings.json
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
{
"dev": {
"app_function": "app.app",
"profile_name": "default",
"project_name": "masters",
"runtime": "python3.6",
"s3_bucket": "zappa-ax0b7nbq7",
"aws_region": "eu-central-1",
"exclude": [
"*.wav"
],
"environment_variables": {
"EXAMPLE_ENV_VAR": "deev"
},
"events": [
{
"function": "app.processing.process_file",
"event_source": {
"arn": "arn:aws:s3:::datasets-masters-2020",
"events": [
"s3:ObjectCreated:*"
]
}
}
],
"lambda_description": "Zappa + Docker + Flask",
"layers": [
"arn:aws:lambda:eu-central-1:701941495701:layer:ffmpeg:3"
]
},
"prod": {
"app_function": "app.app",
"profile_name": "default",
"project_name": "masters",
"s3_bucket": "zappa-ax0b7nbq7",
"environment_variables": {
"EXAMPLE_ENV_VAR": "prod"
},
"apigateway_enabled": true,
"events": [
{
"function": "app.processing.process_file",
"event_source": {
"arn": "arn:aws:s3:::datasets-masters-2020",
"events": [
"s3:ObjectCreated:*"
]
}
}
],
"lambda_description": "Zappa + Docker + Flask"
}
}