This repository has been archived by the owner on Jun 23, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 107
/
template.yaml
60 lines (56 loc) · 2.02 KB
/
template.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
AWSTemplateFormatVersion: '2010-09-09'
Transform: 'AWS::Serverless-2016-10-31'
Description: >-
This project is an adaptation of the AWS Serverless Application Repository.
It's primary objective is to serve as a case study of how to build a production grade service using a combination of serverless technologies and approaches.
Metadata:
AWS::ServerlessRepo::Application:
Name: realworld-serverless-application
Description: >-
This project is an adaptation of the AWS Serverless Application Repository.
It's primary objective is to serve as a case study of how to build a production grade service using a combination of serverless technologies and approaches.
Author: AWS Serverless Application Repository
SpdxLicenseId: Apache-2.0
Labels: [github, serverless, sam]
HomePageUrl: https://github.com/awslabs/realworld-serverless-application
SemanticVersion: 1.0.1
SourceCodeUrl: https://github.com/awslabs/realworld-serverless-application/tree/1.0.1
LicenseUrl: ../../LICENSE
ReadmeUrl: ../../README.md
Parameters:
Stage:
Type: String
Description: The stage where the application is running in, e.g., dev, prod.
Default: 'test'
Resources:
Backend:
Type: 'AWS::Serverless::Application'
Properties:
Location: '../../backend/sam/app/template.yaml'
Parameters:
Stage: !Ref Stage
Ops:
Type: 'AWS::Serverless::Application'
Properties:
Location: '../../ops/sam/app/template.yaml'
Parameters:
Stage: !Ref Stage
DependsOn: Backend
Website:
Type: 'AWS::Serverless::Application'
Properties:
Location: '../../static-website/sam/app/template.yaml'
Parameters:
Stage: !Ref Stage
DependsOn: Backend
Analytics:
Type: 'AWS::Serverless::Application'
Properties:
Location: '../../analytics/sam/app/template.yaml'
Parameters:
Stage: !Ref Stage
DependsOn: Backend
Outputs:
WebsiteUrl:
Description: The static website URL for the service.
Value: !GetAtt Website.Outputs.Url