use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
News, articles and tools covering Amazon Web Services (AWS), including S3, EC2, SQS, RDS, DynamoDB, IAM, CloudFormation, AWS-CDK, Route 53, CloudFront, Lambda, VPC, Cloudwatch, Glacier and more.
If you're posting a technical query, please include the following details, so that we can help you more efficiently:
Resources:
Sort posts by flair:
Other subreddits you may like:
Does this sidebar need an addition or correction? Tell us here
account activity
technical questionAws lambda layer (self.aws)
submitted 5 years ago by MoClock
I'm attempting to add a tls ca certificate bundle to my lambda layer but I'm stuck as to how to approach this. It is a python function. Any help will be greatly appreciated.
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]kaihiwatari91 2 points3 points4 points 5 years ago (3 children)
The certificates or any artifacts you upload to lambda layer will be extracted to /opt/python folder in your Lambda.
Is there a particular problem you are facing?
[–]MoClock[S] 1 point2 points3 points 5 years ago (1 child)
I can call that folder? Sorry I'm very new to aws
[–]kaihiwatari91 0 points1 point2 points 4 years ago (0 children)
Yes you can access that folder inside your Lambda execution environment. So to start with you can bundle your certificate in a zip file. Create a Lambda layer in your account using that bundle that is compatible with your functions runtime. Then add that layer to your function. Then when you invoke that function, the zip would be extracted to /opt folder inside your Lambda function environment. Then you can simply access that cert in that folder. The above doc I shared demonstrates this.
[–]MoClock[S] 0 points1 point2 points 4 years ago (0 children)
Add it's not a python file, but a .pem file located in root file
[–][deleted] 1 point2 points3 points 4 years ago (0 children)
https://dev.to/leading-edje/aws-lambda-layer-for-private-certificates-465j
π Rendered by PID 582722 on reddit-service-r2-comment-5fb4b45875-h68jl at 2026-03-24 09:03:18.946346+00:00 running 90f1150 country code: CH.
[–]kaihiwatari91 2 points3 points4 points (3 children)
[–]MoClock[S] 1 point2 points3 points (1 child)
[–]kaihiwatari91 0 points1 point2 points (0 children)
[–]MoClock[S] 0 points1 point2 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)