-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathriff-raff.yaml
89 lines (81 loc) · 2.46 KB
/
riff-raff.yaml
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
87
88
89
regions: [eu-west-1]
allowedStages: [INFRA]
templates:
cloudformation:
type: cloud-formation
app: elasticsearch-node-rotation
contentDirectory: elasticsearch-node-rotation-cloudformation
parameters:
templatePath: cloudformation.yaml
lambda:
type: aws-lambda
contentDirectory: elasticsearch-node-rotation
parameters:
fileName: elasticsearch-node-rotation.zip
functionNames:
- -enr-get-target-node-
- -enr-auto-scaling-group-check-
- -enr-cluster-status-check-
- -enr-add-node-
- -enr-cluster-size-check-
- -enr-reattach-target-instance-
- -enr-migrate-shards-
- -enr-shard-migration-check-
- -enr-remove-node-
deployments:
deploy-tools-enr-cloudformation:
stacks: [deploy]
template: cloudformation
app: elk-data-node-rotation
deploy-tools-enr-lambda:
stacks: [deploy]
dependencies: [deploy-tools-enr-cloudformation]
template: lambda
parameters:
bucket: deploy-tools-dist
ophan-enr-cloudformation:
stacks: [ophan]
template: cloudformation
app: ophan-es-node-rotation
ophan-enr-lambda:
stacks: [ophan]
dependencies: [ophan-enr-cloudformation]
template: lambda
parameters:
bucket: ophan-dist
grid-enr-cloudformation:
stacks: [media-service]
template: cloudformation
app: grid-es-node-rotation
grid-enr-lambda:
stacks: [media-service]
dependencies: [grid-enr-cloudformation]
template: lambda
parameters:
bucket: media-service-dist
infosec-enr-cloudformation:
stacks: [infosec]
template: cloudformation
app: infosec-wazuh-es-rotation
infosec-enr-lambda:
stacks: [infosec]
dependencies: [infosec-enr-cloudformation]
template: lambda
parameters:
bucket: infosec-dist
content-api-enr-cloudformation:
stacks: [ content-api]
template: cloudformation
app: elasticsearch-node-rotation
content-api-enr-lambda:
stacks: [ content-api ]
dependencies: [ content-api-enr-cloudformation ]
template: lambda
parameters:
bucket: content-api-dist
# Giant (pfi) uses elasticsearch-node-rotation but we don't allow continuous deployment
# of it into the account to minimise the deployment points for code that has access
# to the data in Giant itself.
#
# We currently update the Cloudformation and lambda packages manually.
# If you have made changes please email [email protected] to let them know.