Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- service: test-ser
- # app and org for use with dashboard.serverless.com
- #app: your-app-name
- org: publicismedia
- # You can pin your service to only deploy with a specific Serverless version
- # Check out our docs for more details
- # frameworkVersion: "=X.X.X"
- provider:
- name: aws
- region: eu-west-1
- runtime: python3.6
- stage: dev
- deploymentBucket:
- name: pmi-serverless-test
- deploymentPrefix: test/lambda
- apiGateway:
- restApiId:
- "Fn::ImportValue": DataScienceGw-restApiId
- restApiRootResourceId:
- "Fn::ImportValue": DataScienceGw-rootResourceId
- plugins:
- - serverless-iam-roles-per-function
- - serverless-python-requirements
- - serverless-offline
- custom:
- pythonRequirements:
- dockerizePip: non-linux
- zip: true
- slim: true
- package:
- individually: true
- functions:
- - ${file(./fun1/myfun.yml):functions}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement