You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 15, 2024. It is now read-only.
I had the same issue when upgrading from 2.5.2 to 2.5.4. Additionally, it removed layers that were already added to lambdas. Downgrade to 2.5.2 fixed it for me.
I'm trying to attach common layers to the 5 lambda functions
Have defined one sample function in the code,
service: user-rep
description: user-rep-tool
frameworkVersion: ^3.0.0
useDotenv: true
plugins:
package:
individually: true
serverless-layers:
layersDeploymentBucket: ${self:service}-tool-${self:provider.stage}-layers
functions: # optional
- query-access-requests
- dispose-access-request
- create-access-request
- query-affiliates
- lambda-authorizer
- pre-token-trigger
dependenciesPath: ./package.json
provider:
name: aws
region: ${opt:region, 'us-east-1'}
runtime: nodejs14.x
functions:
query-affiliates:
handler: src/lambda/query-affiliates/index.handler
architecture: arm64
The text was updated successfully, but these errors were encountered: