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

posta un anno fa528 visualizzazioni
1 Risposta
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
ESPERTO
con risposta un anno fa
profile picture
ESPERTO
verificato un anno fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande