I have an API gateway that uses an “authorizer” Lambda function. Is it possible to pull in reusable code (e.g., shared functions, constants) from a Lambda layer to the authorizer function?
I’m surprised that I can’t seemingly find anyone asking the same question on the web. I don’t see anything from the AWS documentation that tackles this concern either. I’m provisioning infrastructure via Terraform, but I don’t see aws_apigatewayv2_authorizer
having the same option as aws_lambda_function.layers
.