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

feita há um ano528 visualizações
1 Resposta
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
ESPECIALISTA
respondido há um ano
profile picture
ESPECIALISTA
avaliado há um ano

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas