forked from QualiSystemsLab/aws-workshop-colony
/
promotions-manager-all-aws-dev.yaml
47 lines (39 loc) · 1.11 KB
/
promotions-manager-all-aws-dev.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
spec_version: 1
kind: blueprint
metadata:
description: >
All in one deployment of our promotions manager
clouds:
- AWS: us-east-1
artifacts:
- promotions-manager-ui: artifacts/latest/promotions-manager-ui.master.tar.gz
- promotions-manager-api: artifacts/latest/promotions-manager-api.master.tar.gz
- mongodb: artifacts/test-data/test-data-db.tar
inputs:
- PORT: 3000
- API_PORT: 3001
- AWS_INSTANCE_TYPE: m5.large
- RELEASE_NUMBER: none
- API_BUILD_NUMBER: none
applications:
- promotions-manager-ui:
target: vm1
#instance: 3
input_values:
- PORT: $PORT
- AWS_INSTANCE_TYPE: $AWS_INSTANCE_TYPE
- API_PORT: $API_PORT
#depends_on:
# - promotions-manager-api
- promotions-manager-api:
target: vm1
input_values:
- API_PORT: $API_PORT
- AWS_INSTANCE_TYPE: $AWS_INSTANCE_TYPE
- DATABASE_HOST: mongodb
- RELEASE_NUMBER: $RELEASE_NUMBER
- API_BUILD_NUMBER: $API_BUILD_NUMBER
- mongodb:
target: vm1
input_values:
- AWS_INSTANCE_TYPE: $AWS_INSTANCE_TYPE