@shinyaz

Lambda Durable Functions show RUNNING status even when suspended

1 min read

Expected a Durable Function waiting for a callback to show SUSPENDED status, but get-durable-execution returns RUNNING.

Terminal
aws lambda get-durable-execution \
  --durable-execution-arn "<ARN>" \
  --region us-east-2
Output
{
  "Status": "RUNNING"
}

To determine if a function is actually suspended, check get-durable-execution-history for a CallbackStarted event without a corresponding CallbackSucceeded or CallbackFailed. The status alone doesn't distinguish "actively processing" from "waiting for a callback with zero compute charges." Worth keeping in mind when building monitoring or dashboards.

Share this post

Shinya Tahara

Shinya Tahara

Solutions Architect @ AWS

I'm a Solutions Architect at AWS, providing technical guidance primarily to financial industry customers. I share learnings about cloud architecture and AI/ML on this site.The views and opinions expressed on this site are my own and do not represent the official positions of my employer.