-
Notifications
You must be signed in to change notification settings - Fork 2
/
zappa_settings.json
64 lines (64 loc) · 2.79 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
54
55
56
57
58
59
60
61
62
63
64
{
"dev": {
"app_function": "bottle_app.app",
"aws_region": "us-east-1",
"profile_name": "default",
"project_name": "planttracer-",
"runtime": "python3.11",
"timeout_seconds": 300,
"domain":"dev.planttracer.com",
"route53_enabled" : false,
"slim_handler":true,
"certificate_arn": "arn:aws:acm:us-east-1:376778049323:certificate/7afdf627-d4fa-4ecf-8507-20dee1f34f9e",
"exclude": ["*.mp4", "*.dylib"],
"exclude_glob": ["selenium/**/*", "tests/**/*"],
"ephemeral_storage" : {"Size":1024},
"num_retained_versions":1,
"cloudwatch_retention_days":1,
"log_level" : "WARNING",
"memory_size" : 512,
"s3_bucket" : "planttracer-zappa-lambda",
"timeout_seconds": 900,
"environment_variables": {
"AWS_LAMBDA": "YES",
"DBREADER":"arn:aws:secretsmanager:us-east-1:376778049323:secret:planttracer_dbreader_dev-5LtJsU",
"DBWRITER":"arn:aws:secretsmanager:us-east-1:376778049323:secret:planttracer_dbwriter_dev-g7zJin",
"PLANTTRACER_CREDENTIALS":"etc/credentials-aws-dev.ini",
"PLANTTRACER_SMTP":"arn:aws:secretsmanager:us-east-1:376778049323:secret:planttracer_smtp-5TWQyf",
"PLANTTRACER_LOG_LEVEL":"INFO",
"PLANTTRACER_DEMO_MODE_AVAILABLE":"YES"
}
},
"production": {
"app_function": "bottle_app.app",
"aws_region": "us-east-1",
"profile_name": "default",
"project_name": "planttracer-",
"runtime": "python3.11",
"timeout_seconds": 300,
"domain":"app.planttracer.com",
"route53_enabled" : false,
"slim_handler":true,
"certificate_arn": "arn:aws:acm:us-east-1:376778049323:certificate/7afdf627-d4fa-4ecf-8507-20dee1f34f9e",
"exclude": ["*.mp4", "*.dylib"],
"exclude_glob": ["selenium/**/*", "tests/**/*"],
"ephemeral_storage" : {"Size":1024},
"num_retained_versions":5,
"cloudwatch_retention_days":1,
"log_level" : "WARNING",
"s3_bucket" : "planttracer-zappa-lambda",
"keep_warm": true,
"keep_warm_expression": "rate(2 minutes)",
"timeout_seconds": 900,
"delete_local_zip":false,
"delete_s3_zip":false,
"environment_variables": {
"AWS_LAMBDA": "YES",
"DBREADER":"arn:aws:secretsmanager:us-east-1:376778049323:secret:planttracer_dbreader_prod-ui2Hf1",
"DBWRITER":"arn:aws:secretsmanager:us-east-1:376778049323:secret:planttracer_dbwriter_prod-OOt56r",
"PLANTTRACER_CREDENTIALS":"etc/credentials-aws-prod.ini",
"PLANTTRACER_SMTP":"arn:aws:secretsmanager:us-east-1:376778049323:secret:planttracer_smtp-5TWQyf",
"PLANTTRACER_LOG_LEVEL":"WARNING"
}
}
}