Skip to content
Kitbay
Submit

debugging-mwaa-workflow

Apache-2.0Updated on Nov 11, 20263,464GitHub stars

A skill in AWS's aws-data-analytics plugin for finding out why an Amazon MWAA workflow failed.

What the skill teaches

A skill in AWS's aws-data-analytics plugin for finding out why an Amazon MWAA workflow failed. It detects whether the environment is provisioned, with Python DAGs, or Serverless, with YAML workflows, then identifies the failing run and task, gathers and categorizes the error details, and checks the surrounding context to explain the cause. For provisioned environments it uses the MWAA REST API through the CLI, environment details and CloudWatch log groups; for Serverless it uses the workflow run and task instance APIs plus CloudWatch logs. It covers import errors, missing DAGs, worker memory, IAM denials and dependency drift.

Capabilities

  • Find the failing MWAA run and task
  • Read MWAA errors from CloudWatch logs
  • Diagnose import errors, missing DAGs and IAM denials