Mr.9715
06/04/2021, 3:50 PMsst.Api. I see the option in defaultFunctionProps but don't see an option to attach it separately to functions.Mr.9715
06/04/2021, 3:52 PMFrank
defaultFunctionProps can go into a route.Frank
Mr.9715
06/04/2021, 7:57 PMdefaultFunctionPropsFrank
FunctionProps extends the cdk.FunctionOptions so it should have layers? defaultFunctionProps is also of the type FunctionProps … it’s weird that it works there, but in a route.Frank
Mr.9715
06/05/2021, 8:11 AMMr.9715
06/05/2021, 10:53 AMFrank
Adrián Mouly
06/07/2021, 10:05 AMauth-layer works? I been using the authorizer concept with SLS, but not sure if it’s the same… just asking if there is anything better.Mr.9715
06/07/2021, 10:28 AMAdrián Mouly
06/07/2021, 10:33 AMMr.9715
06/07/2021, 10:42 AMAdrián Mouly
06/07/2021, 11:04 AMAdrián Mouly
06/07/2021, 11:04 AMAdrián Mouly
06/07/2021, 11:04 AMFrank
Frank
Frank
layers prop not showing up in intellisense when defining an Api route. I don’t know enough about VSCode to debug further. Opening an issue to track it https://github.com/serverless-stack/serverless-stack/issues/426Mr.9715
06/09/2021, 7:15 AM