Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for using Lambda arm architecture. #815

Open
judetrimble opened this issue Jul 3, 2024 · 2 comments
Open

Support for using Lambda arm architecture. #815

judetrimble opened this issue Jul 3, 2024 · 2 comments

Comments

@judetrimble
Copy link

Describe what happened:

  • Changed the lambda architecture

Describe what you expected:

  • no data in datadog
  • error in cloudwatch logs,
    -[ERROR] Runtime.ImportModuleError: Unable to import module 'lambda_function': No module named 'ddtrace.internal._encoding'
    Traceback (most recent call last):

LAMBDA_WARNING: Unhandled exception. The most likely cause is an issue in the function code. However, in rare cases, a Lambda runtime update can cause unexpected function behavior. For functions using managed runtimes, runtime updates can be triggered by a function change, or can be applied automatically. To determine if the runtime has been updated, check the runtime version in the INIT_START log entry. If this error correlates with a change in the runtime version, you may be able to mitigate this error by temporarily rolling back to the previous runtime version. For more information, see https://docs.aws.amazon.com/lambda/latest/dg/runtimes-update.html

Steps to reproduce the issue:

  • create the lambda function, change its architecture to use arm.
@tpk7548
Copy link

tpk7548 commented Jul 21, 2024

"AWS Lambda functions running on Graviton2, using an Arm-based processor architecture designed by AWS, deliver up to 34% better price performance compared to functions running on x86 processors." - this is a quote from the current AWS Lambda pricing page (https://aws.amazon.com/lambda/pricing/).

@GdahRATP
Copy link

GdahRATP commented Sep 9, 2024

i am using terraform to create the lambda function and in terraform you can only specify the runtime not the version of the runtime. so the only solution is to update your code to use the newest and the latest runtime of aws

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants