Advertisement
Guest User

Untitled

a guest
Dec 9th, 2019
236
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 0.87 KB | None | 0 0
  1.  
  2. service: test-ser
  3.  
  4. # app and org for use with dashboard.serverless.com
  5. #app: your-app-name
  6. org: publicismedia
  7.  
  8. # You can pin your service to only deploy with a specific Serverless version
  9. # Check out our docs for more details
  10. # frameworkVersion: "=X.X.X"
  11.  
  12. provider:
  13.   name: aws
  14.   region: eu-west-1
  15.   runtime: python3.6
  16.   stage: dev
  17.   deploymentBucket:
  18.     name: pmi-serverless-test
  19.   deploymentPrefix: test/lambda
  20.  
  21.   apiGateway:
  22.     restApiId:
  23.       "Fn::ImportValue": DataScienceGw-restApiId
  24.     restApiRootResourceId:
  25.       "Fn::ImportValue": DataScienceGw-rootResourceId
  26.  
  27. plugins:
  28.  - serverless-iam-roles-per-function
  29.   - serverless-python-requirements
  30.   - serverless-offline
  31. custom:
  32.   pythonRequirements:
  33.     dockerizePip: non-linux
  34.     zip: true
  35.     slim: true
  36.  
  37. package:
  38.   individually: true
  39.  
  40. functions:
  41.  - ${file(./fun1/myfun.yml):functions}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement