-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathserverless.yml
More file actions
42 lines (38 loc) · 797 Bytes
/
serverless.yml
File metadata and controls
42 lines (38 loc) · 797 Bytes
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
service: serverless-python-ping
provider:
name: aws
runtime: python3.6
stage: ${opt:stage, env:STAGE, 'development'}
region: ${opt:region, 'eu-west-1'}
memorySize: 128
timeout: 30
environment:
STAGE: ${opt:stage, self:provider.stage}
REGION: ${opt:region, self:provider.region}
package:
exclude:
- contrib/**
- build/**
- .eggs/**
- .cache/**
- serverless_python_ping.egg-info/**
- node_modules/**
- .serverless/**
- deploy/**
- tests/**
plugins:
- serverless-python-requirements
custom:
pythonRequirements:
noDeploy:
- pytest
- boto3
- botocore
- docutils
- jmespath
- python-dateutil
- s3transfer
- six
functions:
get_google:
handler: serverless_python_ping.get_google