forked from DemocracyClub/electionleaflets
-
Notifications
You must be signed in to change notification settings - Fork 0
/
zappa_settings.json
28 lines (28 loc) · 955 Bytes
/
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
{
"staging": {
"aws_region": "eu-west-1",
"django_settings": "electionleaflets.settings.zappa",
"s3_bucket": "zappa-electionleaflets-eu-west-1",
"vpc_config": {
"SubnetIds": [ "subnet-aaaa6bcd", "subnet-b73df0fe" ],
"SecurityGroupIds": [ "sg-a0a784d9" ]
},
"keep_warm": false,
"extra_permissions": [
{
"Effect": "Allow",
"Action": ["s3:*"],
"Resource": "arn:aws:s3:::data.electionleaflets.org"
}
],
"remote_env": "s3://zappa-electionleaflets-eu-west-1/staging_secrets.json",
"domain": "staging.electionleaflets.org",
"memory_size": 1536,
"timeout_seconds": 60,
},
"production": {
"extends": "staging",
"remote_env": "s3://zappa-electionleaflets-eu-west-1/production_secrets.json",
"domain": "www.electionleaflets.org",
}
}