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

demandé il y a un an529 vues
1 réponse
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
répondu il y a un an
profile picture
EXPERT
vérifié il y a un an

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions