fullstack-app icon indicating copy to clipboard operation
fullstack-app copied to clipboard

how to define additional packages in the serverless yaml?

Open sarfrazhooda opened this issue 5 years ago • 1 comments

I would like to include uuid package that I am referring in API component. Is there a way to define layers? and if yes how do you do that in serverless yaml?

sarfrazhooda avatar Jan 02 '21 06:01 sarfrazhooda

You can configure layers with the layers input:

inputs:
  layers:
    - aws:arn:layer # arn of the layer

More info here: https://github.com/serverless-components/express#configure

eahefnawy avatar Jan 04 '21 15:01 eahefnawy