-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtemplate.yml
39 lines (33 loc) · 924 Bytes
/
template.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
AWSTemplateFormatVersion: "2010-09-09"
Transform: AWS::Serverless-2016-10-31
Description: AWS SAM template for the Momento::SimpleCache::Cache resource type
Globals:
Function:
Timeout: 180 # docker start-up times can be long for SAM CLI
MemorySize: 256
Resources:
TypeFunction:
Type: AWS::Serverless::Function
Metadata:
BuildMethod: go1.x
Properties:
Handler: bootstrap
Runtime: provided.al2
Architectures:
- x86_64
CodeUri: bin/
Environment:
# Used for local integration testing. Values should be passed in from external json file when using SAM to start
Variables:
MODE:
MOMENTO_AUTH_TOKEN:
TestEntrypoint:
Type: AWS::Serverless::Function
Metadata:
BuildMethod: go1.x
Properties:
Handler: bootstrap
Runtime: provided.al2
Architectures:
- x86_64
CodeUri: bin/