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
gefragt vor einem Monat197 Aufrufe
1 Antwort
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
EXPERTE
beantwortet vor einem Monat
profile pictureAWS
EXPERTE
iBehr
überprüft vor einem Monat

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