Update serverless configuration to use exported stack output for Prisma Lambda Layer ARN, ensuring proper deployment functionality.
This commit is contained in:
@@ -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:
|
||||
- '*/*'
|
||||
|
||||
Reference in New Issue
Block a user