-
Notifications
You must be signed in to change notification settings - Fork 3
/
leo_cli_config.js
53 lines (52 loc) · 1.15 KB
/
leo_cli_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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
'use strict';
let fs = require("fs");
let path = require("path");
let merge = require("lodash.merge");
let externalConfigPath = path.resolve(process.env.externalConfigPath || ".", "../config/dw/leo_cli_config.js");
let externalConfig = {};
if (fs.existsSync(externalConfigPath)) {
externalConfig = require(externalConfigPath);
}
module.exports = merge({
publish: [{
leoaws: {
profile: 'default',
region: 'us-west-2'
},
public: false,
staticAssets: "s3://YOUR_S3_BUCKET_FOR_STATIC_ASSETS/leo_dw"
}],
deploy: {
dev: {
stack: 'DevDw',
parameters: {
AddRedshift: 'yes',
AuroraType: 'None',
AuroraNodeType: 'db.r4.large',
CognitoId: 'YOUR_COGNITO_POOL_ID',
CustomDBEndpoint: '',
CustomDBType: 'None',
CustomFavicon: '',
CustomJS: '',
CustomCSS: '',
DBUsername: 'YOUR_DW_USER',
DBPassword: 'YOUR_DW_PASSWORD',
IngestSourceQueue: 'dw.load',
leoauth: 'DevAuth',
leosdk: 'DevBus',
RedshiftNodeType: 'dc2.large',
RedshiftNumberOfNodes: 1
}
}
},
test: {
personas: {
default: {
identity: {
sourceIp: "127.0.0.1"
}
}
},
defaultPersona: 'default'
}
}, externalConfig);