Missing output attribute in AWS Step function

0

I have two Express type step function (named it as A and B) that running the same template code as below and with the same input but different lambda. However, Step Function B execution response under details, has missing output attribute.

Wondering what's causing the missing output attribute? I've checked in cloudwatch log of both lambda, and they both actually returning the correct response with value.

{
"StartAt": "OrderInvoker",
"States": {
"OrderInvoker": {
"End": true,
"Type": "Task",
"InputPath": "$",
"Resource": "arn:aws:states:::lambda:invoke",
"Parameters": {
"FunctionName": "arn:aws:lambda:us-east-1:XXXXXX:function:order-invoker:$LATEST",
"Payload": {
"order.$": "$.order"
}
}
}
}
}
With output attribute
https://i.stack.imgur.com/8wHX6.png
Missing output attribute
https://i.stack.imgur.com/bykwS.png

Sher
質問済み 4年前575ビュー
1回答
1

Found issue fixed by switching on the logging "Include execution data" option and it's working fine.

Edited by: Sher on Jun 22, 2020 8:32 PM

Sher
回答済み 4年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ