Lambda function with AWS managed layer

0

I use my lambda functions as image so I can't add AWS managed layer "AWS-Parameters-and-Secrets-Lambda-Extension" Is there any chance to use this opportunity in my case? https://docs.aws.amazon.com/systems-manager/latest/userguide/ps-integration-lambda-extensions.html

asked a year ago510 views
1 Answer
2

When you say your Lambda functions are an "image" I'm assuming you mean that they are container images.

Unfortunately, you can't use Lambda Layers with container images - a container is defined to be self-contained; adding libraries/code to it during the launch phase isn't available. You either need to package the libraries and code needed into the container during the build process; or use a Lambda function that isn't launched from a container image.

profile pictureAWS
EXPERT
answered a year ago
profile picture
EXPERT
reviewed a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions