-
Notifications
You must be signed in to change notification settings - Fork 0
/
zappa_settings.json
38 lines (38 loc) · 1.12 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
{
"dev": {
"aws_region": "us-east-2",
"django_settings": "api.settings",
"profile_name": "default",
"project_name": "django-api-serv",
"runtime": "python3.7",
"s3_bucket": "test-api-dev2",
"apigateway_description": "Servless test API - DEV",
"lambda_description": "Servless test API - DEV",
"memory_size": 180,
"log_level": "DEBUG",
"cors": true,
"keep_warm": false,
"domain": "api-dev.yourdomain.com",
"base_path": "api",
"endpoint_configuration": [
"REGIONAL"
],
"route53_enabled": false
},
"production": {
"extends": "dev",
"environment_variables": {
"LOG_LEVEL": "INFO"
},
"lambda_description": "Servless test API - Prod",
"apigateway_description": "Servless test API - Prod",
"s3_bucket": "test-api-prod",
"domain": "api.yourdomain.com",
"endpoint_configuration":[
"EDGE"
],
"log_level": "INFO",
"keep_warm": true,
"keep_warm_expression": "rate(5 minutes)"
}
}