-
Notifications
You must be signed in to change notification settings - Fork 0
/
function.json
38 lines (38 loc) · 1003 Bytes
/
function.json
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
{
"Architectures": [
"x86_64"
],
"Description": "private-isuのベンチマーカーをLambdaで実行する",
"Environment": {
"Variables": {
"MACKEREL_API_KEY": "{{ must_env `MACKEREL_API_KEY` }}",
"MACKEREL_SERVICE_NAME": "{{ must_env `MACKEREL_SERVICE_NAME` }}",
"SPREADSHEETID": "{{ must_env `SPREADSHEETID` }}",
"SPREADSHEET_CREDENTIALS_JSON": "{{ must_env `SPREADSHEET_CREDENTIALS_JSON` }}",
"SPREADSHEET_RANGE": "{{ must_env `SPREADSHEET_RANGE` }}"
}
},
"EphemeralStorage": {
"Size": 512
},
"FunctionName": "{{ must_env `FUNCTION_NAME` }}",
"Handler": "handler",
"LoggingConfig": {
"LogFormat": "Text"
},
"MemorySize": 512,
"Role": "{{ must_env `FUNCTION_ROLE` }}",
"Runtime": "go1.x",
"SnapStart": {
"ApplyOn": "None"
},
"Tags": {},
"Timeout": 300,
"TracingConfig": {
"Mode": "PassThrough"
},
"Code": {
"S3Bucket": "{{ must_env `S3_BUCKET` }}",
"S3Key": "{{ must_env `S3_KEY` }}"
}
}