forked from seunghokimj/price-fairy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
zappa_settings.json
37 lines (32 loc) · 1.29 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
{
"production": {
"apigateway_enabled": false,
"aws_region": "ap-northeast-2",
// "assume_policy": "price_fairy_policy.json", // optional, IAM attach policy JSON file
"aws_environment_variables": {
"NAVER_CLIENT_ID": "YOUR_NAVER_CLIENT_ID",
"NAVER_CLIENT_SECRET": "YOUR_NAVER_CLIENT_SECRET",
"SENDER_EMAIL": "[email protected]",
"SLACK_WEBHOOK_URL": "YOUR_SLACK_WEBHOOK_URL"
},
"callbacks": { // Call custom functions during the local Zappa deployment/update process
"settings": "callback.settings_callback", // After loading the settings
},
"events": [
{
"function": "price_fairy.lambda_handler",
"expression": "cron(10 * * * ? *)"
}
],
"exclude": ["emullambda*"],
"keep_warm": false,
"lambda_description": "Lowest Price Alarm Fairy",
"lambda_handler": "price_fairy.lambda_handler",
"memory_size": 128,
"profile_name": "default",
"project_name": "price-fairy",
"runtime": "python3.6",
//"s3_bucket": "your-s3-bucket", // Zappa zip bucket,
"timeout_seconds": 60, // Maximum lifespan for the Lambda function (default 30, max 300.)
}
}