Skip to content

AWS Lambda graceful shutdown mechanism only works for Python 3.7, not 3.8 or 3.9 #2

Closed
@handlerbot

Description

@handlerbot

Hi! I implemented this pattern as described in a Lambda function using the Python 3.9 runtime on the ARM architecture in us-west-2, and while I'm getting the EXTENSION Name: cloudwatch_lambda_agent State: Ready Events: [SHUTDOWN,INVOKE] logs, my shutdown handler is never being run.

Any suggestions for debugging I can do? Does anyone have a live version of this working for Python (any version, any architecture, any region) that I could try reproducing by matching the successfully working characteristics?

Thanks for any help anyone can provide!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions