I followed the example repo found here. The function deploys without issue however it does not have a layer attached per the Lambda console. I can manually add the layer from the console after the function has deployed.
sls deploy -v doesn’t complain about anything. Any help is appreciated.
service: yumyum-layered provider: name: aws runtime: nodejs8.10 region: us-east-1 iamRoleStatements: - Effect: "Allow" Action: - "dynamodb:*" - "s3:*" - "lambda:*" - "cognito:*" Resource: "*" package: individually: true functions: masterResolver: handler: functions/MasterResolver.handler layers: - arn:aws:lambda:us-east-1:XXXXXXX:layer:yumyum-coreLibraries:1