https://supertokens.com/ logo
Link Lambda layer with lambda function
s

Scotty

05/09/2023, 6:25 AM
Hi team, I'm trying to self-host and following along the AWS Lambda integration guide. I'm having difficulty with adding a custom layer to the created lambda function. Within the guide, an add layer feature is pictured, but trying to do it myself I only have the ability to create another layer (pictured) I can't find doco details about adding layers outside of AWS Lambda functions rather than layers, and navigating around the console I cant seem to find it, am I missing something?

https://cdn.discordapp.com/attachments/1105379953085788193/1105379956437033010/image.png

r

rp

05/09/2023, 6:56 AM
the button on the top right - create layer - have you tried that?
s

Scotty

05/09/2023, 7:24 AM
Creating a layer and adding a layer (to a layer) appear to be different functionalities? Pictured first is the create layer page, second is the add layer step from the backend config integration step, asking me to link the lambda layer with the lambda function

https://cdn.discordapp.com/attachments/1105379953085788193/1105394931293503569/image.png

https://cdn.discordapp.com/attachments/1105379953085788193/1105394931587088445/image.png

r

rp

05/09/2023, 7:33 AM
right. I think you want to create a layer first, and then add the layer to the lambda
s

Scotty

05/09/2023, 8:49 PM
I can understand how it sounds! In my original post picture I’ve created two layers - but I’m struggling to find where to add a layer to the lambda… , I can’t find in the documentation a work around, is this an update in the AWS console? 🤔
r

rp

05/10/2023, 4:07 AM
Yeaaa. AWS keeps changing their UI. Might want to reach out to their support?