This repository has been archived by the owner on Mar 6, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsettings.js
86 lines (84 loc) · 2.05 KB
/
settings.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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
const Path = require('path')
const ACCOUNT = 855433257886
module.exports = {
timezone: 'Europe/Berlin',
aws: {
account: ACCOUNT,
region: 'eu-west-1',
credentials: {
profile: 'DKT'
},
cloudFormation: {
apiVersion: '2010-05-15',
stackName: 'DKT-flow-engine',
policy: `arn:aws:iam::${ACCOUNT}:policy/flow-engine-lambda-exec-role`,
capabilities: 'CAPABILITY_IAM',
region: 'eu-west-1'
},
cloudWatchEvents: {
apiVersion: '2015-10-07'
},
apiGateway: {
restApiId: 'mbrnjwzz5a',
host: 'mbrnjwzz5a.execute-api.eu-west-1.amazonaws.com',
apiVersion: '2015-07-09',
title: 'DKT-flow-engine',
mode: 'overwrite', // overwrite || merge
region: 'eu-west-1'
},
dynamoDB: {
apiVersion: '2012-08-10',
region: 'eu-west-1'
},
lambda: {
apiVersion: '2015-03-31',
arn: `arn:aws:iam::${ACCOUNT}:role/lambda_s3_exec_role`,
region: 'eu-west-1',
handler: 'index.handler',
runtime: 'nodejs6.10',
timeout: 20
},
s3: {
apiVersion: '2006-03-01',
bucket: 'dkt.flow-engine.resources',
region: 'eu-west-1'
},
stepFunctions: {
apiVersion: '2016-11-23',
arn: `arn:aws:iam::${ACCOUNT}:role/service-role/StatesExecutionRole-eu-west-1`,
region: 'eu-west-1'
},
ssm: {
apiVersion: '2014-11-06'
}
},
fs: {
project: {
base: Path.resolve(__dirname)
},
api: {
base: Path.resolve(__dirname, 'src', 'api')
},
lambdas: {
base: Path.resolve(__dirname, 'src', 'lambdas'),
handler: 'index.js'
},
workflows: {
base: Path.resolve(__dirname, 'src', 'workflows')
},
resources: {
base: Path.resolve(__dirname, 'src', 'resources'),
services: {
base: Path.resolve(__dirname, 'src', 'resources', 'services')
}
},
dist: {
base: Path.resolve(__dirname, 'dist'),
resources: Path.resolve(__dirname, 'dist', 'resources')
}
},
tests: {
timeout: 5000,
includeStack: true
}
}