-
Notifications
You must be signed in to change notification settings - Fork 0
/
riff-raff.yaml
62 lines (61 loc) · 1.7 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
regions:
- eu-west-1
allowedStages:
- CODE-AARDVARK
- PROD-AARDVARK
- CODE-ZEBRA
- PROD-ZEBRA
deployments:
cloudformation:
type: cloud-formation
app: concierge-graphql
stacks:
- content-api
parameters:
templateStagePaths:
CODE-AARDVARK: ConciergeGraphql-CODE-AARDVARK.template.json
PROD-AARDVARK: ConciergeGraphql-PROD-AARDVARK.template.json
amiParameter: AMIConciergegraphql
amiEncrypted: true
amiTags:
Recipe: ubuntu-focal-capi-arm-jdk11
AmigoStage: PROD
BuiltBy: amigo
# cloudformation-preview:
# type: cloud-formation
# app: concierge-graphql
# stacks:
# - content-api-preview
# parameters:
# templateStagePaths:
# CODE-AARDVARK: ConciergeGraphql-preview-CODE-AARDVARK.template.json
# PROD-AARDVARK: ConciergeGraphql-preview-PROD-AARDVARK.template.json
# amiParameter: AMIConciergegraphql
# amiEncrypted: true
# amiTags:
# Recipe: ubuntu-focal-capi-arm-jdk11
# AmigoStage: PROD
# BuiltBy: amigo
concierge-graphql:
type: autoscaling
stacks:
- content-api
# - content-api-preview
parameters:
bucketSsmLookup: true
dependencies: [ cloudformation ]
# dependencies: [ cloudformation, cloudformation-preview ]
graphiql-explorer:
type: aws-s3
stacks:
- content-api #we don't need multiple stacks here
parameters:
bucketSsmKey: /account/services/static.serving.bucket
cacheControl:
- pattern: ".*.html$"
value: "public, max-age=60"
- pattern: ".*"
value: "public, max-age=3600"
publicReadAcl: true
prefixStack: false
dependencies: ["cloudformation"]