Update serverless configuration to use exported stack output for Prisma Lambda Layer ARN, ensuring proper deployment functionality.

This commit is contained in:
paritosh18
2025-12-16 16:07:03 +05:30
parent 2767d29d79
commit ef2b23ef83

View File

@@ -20,7 +20,8 @@ provider:
# Apply Prisma layer to all functions
# Reference the layer defined in this stack using CloudFormation Ref
layers:
- !Ref PrismaLambdaLayer
# Use the exported stack output so deploy function works (expects a string ARN)
- ${cf:${self:service}-${sls:stage}.PrismaLambdaLayerQualifiedArn}
apiGateway:
binaryMediaTypes:
- '*/*'