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
已提問 1 個月前檢視次數 190 次
1 個回答
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
專家
已回答 1 個月前
profile pictureAWS
專家
iBehr
已審閱 1 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南

相關內容