-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathzappa_settings.json
69 lines (69 loc) · 1.82 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
65
66
67
68
69
{
"hml": {
"aws_region": "us-west-2",
"project_name": "base",
"runtime": "python3.7",
"s3_bucket": "test-base-hml",
"apigateway_description": "API de base - HML",
"lambda_description": "API de base - HML",
"log_level": "DEBUG",
"cors": true,
"keep_warm": false,
"domain": "",
"base_path": "base",
"endpoint_configuration": [
"REGIONAL"
],
"route53_enabled": false,
"certificate_arn": "",
"environment_variables": {
"MS_ALLOW_ORIGIN":"*",
"MS_ALLOW_METHODS":"POST,GET,DELETE,PUT,PATCH,OPTIONS",
"MS_PORT":"8080",
"DB_HOST":"127.0.0.1",
"DB_PORT":"5432",
"DB_USER":"user",
"DB_PASS":"pass",
"DB_NAME":"database"
},
"exclude": [
"*.md",
"Dockerfile",
".*",
"zappa_settings.json",
"setup.cfg",
"docker-*",
"bitbucket-*",
"ci.sh"
],
"vpc_config": {
"SubnetIds": [
// subnets to database etc
],
"SecurityGroupIds": [ ]
}
},
"prod": {
"extends": "hml",
"lambda_description": "API de base - Prod",
"apigateway_description": "API de base - PROD",
"s3_bucket": "",
"domain": "",
"endpoint_configuration":[
"EDGE"
],
"environment_variables": {
"MS_ALLOW_ORIGIN":"*",
"MS_ALLOW_METHODS":"POST,GET,DELETE,PUT,PATCH,OPTIONS",
"MS_PORT":"8080",
"DB_HOST":"127.0.0.1",
"DB_PORT":"5432",
"DB_USER":"user",
"DB_PASS":"pass",
"DB_NAME":"database"
},
"log_level": "INFO",
"keep_warm": true,
"keep_warm_expression": "rate(5 minutes)"
}
}