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

gefragt vor einem Jahr528 Aufrufe
1 Antwort
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
EXPERTE
beantwortet vor einem Jahr
profile picture
EXPERTE
überprüft vor einem Jahr

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen