I plan to use cognito-at-edge as a lambda layer in a lambda@edge function but when I try to bind it to my CloudFront triggers I get the following error:
The function cannot have a layer. Function: arn:aws:lambda:us-east-1:XXXXXXXXXXX:function:lambda-basic-auth:15
What am I missing? Is this supposed to run on a lambda@edge function?
How can we help?
I plan to use cognito-at-edge as a lambda layer in a lambda@edge function but when I try to bind it to my CloudFront triggers I get the following error:
The function cannot have a layer. Function: arn:aws:lambda:us-east-1:XXXXXXXXXXX:function:lambda-basic-auth:15
What am I missing? Is this supposed to run on a lambda@edge function?