AWS Lambda Container Image (Python)
See original GitHub issueEnvironment
How do you use Sentry? Sentry SaaS (sentry.io)
Which SDK and version? Python 3.8
Steps to Reproduce
- Followed steps on https://docs.sentry.io/platforms/python/guides/aws-lambda/container-image/
- Started lambda function with function code deployed as a container image
Expected Result
Sentry initializes normally
Actual Result
Lambda ended with Execution result: failed and returned
{
"errorMessage": "Unable to import module 'sentry_sdk.integrations.init_serverless_sdk': No module named 'init_serverless_sdk'",
"errorType": "Runtime.ImportModuleError",
"stackTrace": []
}
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Deploy Python Lambda functions with container images
Deploy your Python Lambda function code as a container image using an AWS provided base image or the runtime interface client.
Read more >amazon/aws-lambda-python - Docker Image
AWS provided base images for Lambda contain all the required components to run your functions packaged as container images on AWS Lambda. These...
Read more >Building AWS Lambda Container Images | by Ram Vegiraju
AWS Lambda functions are incredibly powerful and one of the core building blocks for serverless applications. ... First we grab the AWS base...
Read more >Container Images for AWS Lambda with Python
Container Images for AWS Lambda with Python · Prerequisites · Building a Docker container with dependencies · Building & Testing Locally · Running ......
Read more >Containerizing Python Apps for Lambda | Slim.AI Blog
This technical article will explain the benefits of containerized Lambda applications and show you how to deploy images to AWS Lambda. We'll ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I found that the installed version of public.ecr.aws/sentry/sentry-python-serverless-sdk:6 which is in the documentation is 1.3.0 which has init_serverless_sdk module, but if you install the latest version 1.9.5 that module was removed, seems to be that the documentation and the package for integrate Sentry with Lamba Container is out date. Do you have any news about this?
This issue has gone three weeks without activity. In another week, I will close it.
But! If you comment or otherwise update it, I will reset the clock, and if you label it
Status: Backlog
orStatus: In Progress
, I will leave it alone … forever!“A weed is but an unloved flower.” ― Ella Wheeler Wilcox 🥀