-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsam.yml
55 lines (47 loc) · 1.19 KB
/
sam.yml
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
AWSTemplateFormatVersion: "2010-09-09"
Transform: AWS::Serverless-2016-10-31
Resources:
BookmarksToolsLayer:
Type: AWS::Serverless::LayerVersion
Properties:
ContentUri: src/layer
CompatibleRuntimes:
- python3.7
RetentionPolicy: Retain
BookmarksToolsLayerArnParameter:
Type: AWS::SSM::Parameter
Properties:
Name: BookmarksToolsLayerArn
Type: String
Value: !Ref BookmarksToolsLayer
TwitterLayer:
Type: AWS::Serverless::LayerVersion
Properties:
ContentUri: src/twitter
CompatibleRuntimes:
- python3.7
RetentionPolicy: Retain
TwitterLayerArnParameter:
Type: AWS::SSM::Parameter
Properties:
Name: TwitterLayerArn
Type: String
Value: !Ref TwitterLayer
JinjaLayer:
Type: AWS::Serverless::LayerVersion
Properties:
ContentUri: src/jinja2
CompatibleRuntimes:
- python3.7
RetentionPolicy: Retain
JinjaLayerArnParameter:
Type: AWS::SSM::Parameter
Properties:
Name: JinjaLayerArn
Type: String
Value: !Ref JinjaLayer
Outputs:
BookmarksToolsLayerArn:
Value: !Ref BookmarksToolsLayer
TwitterLayerArn:
Value: !Ref TwitterLayer