Skip to content

Commit

Permalink
Add missing path segment "Payload"
Browse files Browse the repository at this point in the history
  • Loading branch information
danscales committed Aug 12, 2024
1 parent 025f4b2 commit e2cff26
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions step_functions/process_list.json.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,17 @@
"Payload.$": "$",
"FunctionName": "${lambda_preprocessing_name}"
},
"ResultSelector": {
"Payload.$": "$.Payload"
},
"ResultPath": "$.PreprocOutput",
"Next": "Check status"
},
"Check status": {
"Type": "Choice",
"Choices": [
{
"Variable": "$.PreprocOutput.status",
"Variable": "$.PreprocOutput.Payload.status",
"StringEquals": "error",
"Next": "Error state"
}
Expand All @@ -26,14 +29,14 @@
},
"Error state": {
"Type": "Pass",
"OutputPath": "$.PreprocOutput",
"OutputPath": "$.PreprocOutput.Payload",
"End": true
},
"Copy results": {
"Type": "Pass",
"Result": {
"geometries.$": "$.PreprocOutput.geometries",
"output.$": "$.PreprocOutput.output"
"geometries.$": "$.PreprocOutput.Payload.geometries",
"output.$": "$.PreprocOutput.Payload.output"
},
"ResultPath": "$.files",
"Next": "Process List"
Expand Down

0 comments on commit e2cff26

Please sign in to comment.