diff --git a/serverless.yml b/serverless.yml index 9a388ab..a1ec7ae 100644 --- a/serverless.yml +++ b/serverless.yml @@ -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: - '*/*'