Migrating Lambda to use Graviton2 Processor

0

I made changes in the serverless configuration for Lambda to use the arm64 processor, and the deployment was successful. However, when I triggered the Lambda function, I received the following exception. Please let me know if any have any idea on the resolution.

Unhandled exception. System.BadImageFormatException: Could not load file or assembly '/opt/Amazon.Lambda.RuntimeSupport.dll'. An attempt was made to load a program with an incorrect format. error : bootstrap.sh doesn't exist

Rahul
feita há um mês190 visualizações
1 Resposta
1

Hi Rahul,

if you are using .NET for your Lambda function, you might need to build specifically for the ARM architecture. Please find more information here: https://github.com/aws/aws-graviton-getting-started/blob/main/dotnet.md

Thanks, Ben

profile pictureAWS
ESPECIALISTA
respondido há um mês
profile pictureAWS
ESPECIALISTA
iBehr
avaliado há um mês

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