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 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则