forked from zappa/Zappa
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest_bad_settings.json
49 lines (49 loc) · 1.44 KB
/
test_bad_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
{
"ttt888": {
"s3_bucket": "lmbda"
// note: missing comma is not enough to make hjson raise
// ValueError, however missing quote is enough;
"app_function": "tests.test_app.hello_world
"callbacks": {
"settings": "test_settings.callback",
"post": "test_settings.callback",
"zip": "test_settings.callback"
},
"delete_zip": true,
"debug": true,
"parameter_depth": 2,
"prebuild_script": "test_settings.prebuild_me",
"events": [
{
"function": "tests.test_app.schedule_me",
"expression": "rate(1 minute)"
},
{
"function": "test.test_app.method",
"event_source": {
"arn": "arn:aws:sns:::1",
"events": [
"sns:Publish"
]
}
}
]
},
"devor": {
"s3_bucket": "lmbda",
"app_function": "tests.test_app.hello_world",
"callbacks": {
"settings": "test_settings.callback",
"post": "test_settings.callback",
"zip": "test_settings.callback"
},
"delete_zip": true,
"debug": true,
"parameter_depth": 2,
"prebuild_script": "test_settings.prebuild_me",
"events": [{
"function": "tests.test_app.schedule_me",
"expression": "rate(1 minute)"
}]
}
}