-
Notifications
You must be signed in to change notification settings - Fork 122
/
riff-raff.yaml
121 lines (99 loc) · 2.34 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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
stacks:
- media-service
regions:
- eu-west-1
allowedStages:
- TEST
- PROD
templates:
autoscaling:
type: autoscaling
parameters:
dependencies:
- app-ami-update
usage-autoscaling:
type: autoscaling
app: usage
contentDirectory: usage
parameters:
dependencies:
- app-ami-update
usage-deploy:
template: usage-autoscaling
actions:
- deploy
dependencies:
- usage
deployments:
auth:
template: autoscaling
collections:
template: autoscaling
cropper:
template: autoscaling
image-loader:
template: autoscaling
image-loader-projection:
template: autoscaling
kahuna:
template: autoscaling
leases:
template: autoscaling
media-api:
template: autoscaling
metadata-editor:
template: autoscaling
thrall:
template: autoscaling
# Usage is confusingly a single artifact running twice with different configuration
usage:
template: usage-autoscaling
actions:
- uploadArtifacts
usage-api:
template: usage-deploy
usage-stream:
template: usage-deploy
app: usage-stream
imgops:
template: autoscaling
actions:
- deploy
app-ami-update:
type: ami-cloudformation-parameter
parameters:
cloudFormationStackByTags: false
cloudFormationStackName: media-service
prependStackToCloudFormationStackName: false
amiParametersToTags:
AmiId:
BuiltBy: amigo
AmigoStage: PROD
Recipe: editorial-tools-focal-java11-ARM-WITH-cdk-base
ImagingAmiId:
BuiltBy: amigo
AmigoStage: PROD
Recipe: grid-imaging-java11-ARM
ImgOpsAmiId:
BuiltBy: amigo
AmigoStage: PROD
Recipe: grid-imgops-focal-ARM
elasticsearch-ami-update:
type: ami-cloudformation-parameter
parameters:
cloudFormationStackByTags: false
cloudFormationStackName: media-service-elasticsearch
prependStackToCloudFormationStackName: false
amiEncrypted: true
amiParametersToTags:
ElasticSearchAMI:
BuiltBy: amigo
AmigoStage: PROD
Recipe: grid-elasticsearch-focal
image-counter-lambda:
type: aws-lambda
parameters:
prefixStack: false
fileName: image-counter-lambda.zip
functionNames:
- "image-counter-lambda-function-"