-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.js
36 lines (32 loc) · 1.13 KB
/
config.js
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
var config = {};
config = {
region: 'us-east-1',
highAlarmName: 'sqs-count-high',
lowAlarmName: 'sqs-count-low',
doApiKey: '<your long Digital Ocean APIKEY>',
doImageId: 123456789,
doSSHKeyId: 123456789,
doRegion: 'nyc2',
doSize: '512mb',
doImageBaseName: 'do-box-',
maxInstances: 10,
minInstances: 2
}
// test objects for runing locally
//
config.test = {};
config.test.fake_context = {
done: function(err, value){ console.log('done : ',err, value);},
succeed: function( err, value ){ console.log('succeed', err, value)},
fail: function(err, value){ console.log('fail', err, value)}};
config.test.fake_sns_high = {
Records: [
{Sns: { Message: "{ \"AlarmName\": \"sqs-count-high\"}" } }
]
};
config.test.fake_sns_low = {
Records: [
{Sns: { Message: "{ \"AlarmName\": \"sqs-count-low\"}" } }
]
};
module.exports = config;