-
Notifications
You must be signed in to change notification settings - Fork 0
/
architecture.yaml
45 lines (45 loc) · 1.05 KB
/
architecture.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
kind: Architecture
metadata:
name: simple-web-service
version: v1.0.0
labels:
app: custom-app
spec:
platforms:
- name: aws
properties:
region: us-east-1
- name: gcp
properties:
region: us-central1
location: US
project: master-thesis-345116
components:
- name: frontend
type: object-storage
properties:
uniqueName: 23423455-static-web-files
- name: cdn
type: cdn
properties:
uniqueName: 23423455-cdn
target: !ref frontend
- name: backend-code
type: object-storage
properties:
uniqueName: 23423-faas-files
- name: backend-faas
type: function
properties:
uniqueName: 23423455-faas-backend
language: javascript
source:
bucket: !ref backend-code
object: function.zip
- name: api
type: api-gateway
properties:
uniqueName: 23423455-api-gateway
function: !ref backend-faas
openapiFile: openapi.yaml
swaggerFile: swagger.yaml